Strip UberPost shader variants

Hello,

Although I disabled post-processing in the URP renderer settings, my build takes hours mainly because of 40k variants of the UberPost shader as the build log reveals:

Compiling shader "Hidden/Universal Render Pipeline/UberPost" pass "UberPost" (fp)
    Full variant space:         46080
    After settings filtering:   46080
    After built-in stripping:   46080
    After scriptable stripping: 46080

Can somebody tell me how I can get rid of those shader variants to decrease the build time?

I had the same issue and for me what worked was to strip these shadders.
The way I did this was by going on Project Settings → Graphics, there you can enable strip in post process shadder by selecting these options: