fix oneapi
This commit is contained in:
parent
de89197a4a
commit
a66eb7e404
@ -200,6 +200,7 @@ let
|
|||||||
libxml2
|
libxml2
|
||||||
hwloc
|
hwloc
|
||||||
stdenv.cc.cc.lib
|
stdenv.cc.cc.lib
|
||||||
|
zlib
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoPatchelfHook ];
|
nativeBuildInputs = [ autoPatchelfHook ];
|
||||||
@ -397,6 +398,8 @@ let
|
|||||||
echo "-L${intel-compiler-shared}/lib" >> $out/nix-support/cc-ldflags
|
echo "-L${intel-compiler-shared}/lib" >> $out/nix-support/cc-ldflags
|
||||||
echo "-L${cc}/lib" >> $out/nix-support/cc-ldflags
|
echo "-L${cc}/lib" >> $out/nix-support/cc-ldflags
|
||||||
|
|
||||||
|
cp ${mygcc}/nix-support/cc-cflags-before $out/nix-support
|
||||||
|
|
||||||
# Need the gcc in the path
|
# Need the gcc in the path
|
||||||
echo 'export "PATH=${mygcc}/bin:$PATH"' >> $out/nix-support/cc-wrapper-hook
|
echo 'export "PATH=${mygcc}/bin:$PATH"' >> $out/nix-support/cc-wrapper-hook
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user