llvmPackages_git: apply #205355 (disable libpfm on non-Linux)

this was applied to `llvmPackages_15` in 81ef82a029
(though I appear to have forgotten to mention it in the commit message...)
This commit is contained in:
Rahul Butani
2023-04-03 10:33:05 -05:00
parent e835abc046
commit 75fed51e18
@@ -24,10 +24,10 @@
&& (stdenv.hostPlatform == stdenv.buildPlatform)
, enableManpages ? false
, enableSharedLibraries ? !stdenv.hostPlatform.isStatic
, enablePFM ? !(stdenv.isDarwin
|| stdenv.isAarch64 # broken for Ampere eMAG 8180 (c2.large.arm on Packet) #56245
|| stdenv.isAarch32 # broken for the armv7l builder
)
, enablePFM ? stdenv.isLinux /* PFM only supports Linux */
# broken for Ampere eMAG 8180 (c2.large.arm on Packet) #56245
# broken for the armv7l builder
&& !stdenv.hostPlatform.isAarch
, enablePolly ? true
} @args: