Commit Graph

39 Commits

Author SHA1 Message Date
a63f578c99 Update clangOmpss2 to 2023.05.1 2023-09-06 15:12:51 +02:00
01e07d559c Link clang with the dynamic llvm library
It dramatically reduces the size of the installation to 250 MiB. We also
need to inject the rpath of the libraries during the build phase with
CMAKE_BUILD_RPATH as well as zlib. The CMAKE_BUILD_WITH_INSTALL_PATH
option is disabled, as it contradicts the former.
2023-09-06 14:14:40 +02:00
4b06175b42 Only build clangOmpss2 to target the host 2023-09-05 17:55:38 +02:00
4b1d4c18af Set the host triple in clang
Fixes the problem where the triple used by newer versions of
config.guess don't match due to a change in x86 from
x86_64-unknown-linux-gnu to x86_64-pc-linux-gnu.
2023-09-01 16:50:44 +02:00
f2f024b82d Add zlib to the rpath
Instead of using LD_LIBRARY_PATH we provide the rpath from cmake, as
otherwise the clang compiler is also missing the dependency.
2023-06-28 11:18:35 +02:00
932d273ec7 Build OmpSs-2 llvm with zlib
The zlib is required by the lld linker to work with zlib compressed
sections in the ELF header. We also set the LD_LIBRARY_PATH during the
build, as otherwise the llvm-tblgen binary is unable to find the zlib
library, as its missing the directory in the rpath.
2023-06-28 10:45:03 +02:00
0e176cb2a9 Update OmpSs-2 clang to 2023.05 2023-05-30 14:52:42 +02:00
5553ee79a9 Populate OMPSS2_RUNTIME in clang 2023-05-22 19:30:15 +02:00
3f4f3e1105 Export proper OmpSs-2 runtime home variable 2023-05-22 13:54:29 +02:00
84623ea9d0 Use lld linker for clangOmpss2 for LTO 2023-03-06 11:47:01 +01:00
fd84af45f0 Add Intel OneAPI 2022 2023-03-02 19:03:58 +01:00
4cfad119ce Update OmpSs-2 clang to 2022.11 2023-03-02 18:41:02 +01:00
df7c79f34b clangOmpss2: merge both nix files into one
Add clangOmpss2Git to the overlay overriding the src attribute of the
release nix derivation, so we only keep one derivation for both
variants.
2022-04-05 15:40:08 +01:00
a2195aef43 clangOmpss2: use relative path for BINDIR
Absolute paths are not supported and cause a silent error when
installing the clang++ and other symlinks. See:

d93a11c138
58580e922a
2022-04-05 15:40:08 +01:00
6e7a7febd4 clangOmpss2: wrap clang++ too 2022-04-05 15:40:08 +01:00
0b319b8a63 clangOmpss2: 2021.06 -> 2021.11
libelf is now replaced by elfutils
2022-04-05 15:40:08 +01:00
aa083b1b66 clangOmpss2: update 2020.11 -> 2021.06 2021-06-30 16:44:30 +02:00
760787858a bsc: disable hardening in some packages 2021-04-22 12:07:15 +02:00
c4e49ea249 llvm-ompss2: update to last commit d2d451fb 2021-03-04 12:43:17 +01:00
756c5dff92 Update PM git server 2020-12-07 13:47:17 +01:00
daadcc93d0 ompss2: fix to the last release 2020-11-19 18:50:30 +01:00
4111535a9d clangOmpss2: Remove clang from the inputs
Is already provided in stdenv as we use llvm10, and otherwise it
will pull clang 7 as dependency.
2020-11-11 13:17:31 +01:00
985091130d clang: use the commit hash as version 2020-09-28 12:56:13 +02:00
cc101ad1d3 Add saiph experiments 2020-09-21 17:30:24 +02:00
b042e783e5 Add CC and CXX names to compilers passthru 2020-07-27 17:55:35 +02:00
1e54fbdc43 Fix libcxx include path 2020-07-21 16:31:31 +02:00
599e504f1a Remove libgomp and libiomp from clang 2020-07-06 15:58:09 +02:00
c03ac6d05a Remove unused clang nix file 2020-07-06 15:32:55 +02:00
018bebc264 Disable debug in clang+ompss2 compiler 2020-07-06 11:15:55 +02:00
ee5964a984 Disable assertions in clang 2020-07-03 18:34:57 +02:00
1e02ac9023 Enable compiler-rt for asan and update clang-ompss2 2020-07-02 21:10:44 +02:00
Rodrigo Arias
53aebe5846 Use new format for urls 2020-06-25 20:05:12 +02:00
Rodrigo Arias
d9ec42614c Fix libstdc++.so path 2020-06-17 13:21:44 +02:00
Rodrigo Arias
19e4e12126 Working stdenv with clang+ompss2 2020-06-17 13:00:49 +02:00
Rodrigo Arias
3c2b7c163f cpic: Compilation ok but fails to run 2020-06-15 11:54:22 +02:00
Rodrigo Arias
a331ec5f14 Add mode packages and cpic app 2020-06-11 19:04:16 +02:00
Rodrigo
ceaf273219 Proper install phase for llvm-ompss2 2020-06-11 11:33:29 +02:00
Rodrigo
3805eb0ceb Experimental llvm derivation 2020-06-10 19:35:11 +02:00
Rodrigo
20e3f4d4f0 Add compilers 2020-06-09 18:21:02 +02:00