From 599e504f1a5b0fc0f88472fd1bbc244b5eba0bd8 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 6 Jul 2020 15:58:09 +0200 Subject: [PATCH] Remove libgomp and libiomp from clang --- bsc/llvm-ompss2/clang.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bsc/llvm-ompss2/clang.nix b/bsc/llvm-ompss2/clang.nix index bc01b0a..f9d6d34 100644 --- a/bsc/llvm-ompss2/clang.nix +++ b/bsc/llvm-ompss2/clang.nix @@ -58,6 +58,12 @@ stdenv.mkDerivation rec { ) ''; + # Remove support for GNU and Intel Openmp + postInstall = '' + rm $out/lib/libgomp* + rm $out/lib/libiomp* + ''; + # About "-DCLANG_DEFAULT_NANOS6_HOME=${nanos6}", we could specify a default # nanos6 installation, but this is would require a recompilation of clang each # time nanos6 is changed. Better to use the environment variable NANOS6_HOME,