mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
Merge pull request #37023 from dtzWill/feature/wasm
llvm6: Build with support for the experimental WASM backend
This commit is contained in:
commit
3ab2949e1f
@ -16,6 +16,7 @@
|
||||
, debugVersion ? false
|
||||
, enableManpages ? false
|
||||
, enableSharedLibraries ? true
|
||||
, enableWasm ? true
|
||||
, darwin
|
||||
}:
|
||||
|
||||
@ -115,7 +116,9 @@ in stdenv.mkDerivation (rec {
|
||||
|
||||
"-DCOMPILER_RT_BUILD_SANITIZERS=OFF"
|
||||
"-DCOMPILER_RT_BUILD_XRAY=OFF"
|
||||
];
|
||||
] ++ stdenv.lib.optional enableWasm
|
||||
"-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly"
|
||||
;
|
||||
|
||||
postBuild = ''
|
||||
rm -fR $out
|
||||
|
Loading…
Reference in New Issue
Block a user