Fix llvm postInstall
Some llvm versions do not generate the intel and gomp support libraries and the post install script fails because it cannot remove them. This patch makes removal optional. Reviewed-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
parent
4111b22f57
commit
0086b9452a
@ -122,8 +122,8 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
# Remove support for GNU and Intel Openmp
|
||||
postInstall = ''
|
||||
rm $out/lib/libgomp*
|
||||
rm $out/lib/libiomp*
|
||||
rm -f $out/lib/libgomp*
|
||||
rm -f $out/lib/libiomp*
|
||||
'';
|
||||
|
||||
# About "-DCLANG_DEFAULT_NANOS6_HOME=${nanos6}", we could specify a default
|
||||
|
Loading…
Reference in New Issue
Block a user