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