Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance LLVM easyblock for compilation of clang/flang + other llvm-projects #3373

Open
wants to merge 90 commits into
base: 5.0.x
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
b42f6a7
Added single EB for bootstrapping all LLVM components
Crivella Jun 12, 2024
28b5203
Make sure libgcc_s.so is not used
Crivella Jun 13, 2024
557e729
Modularized + switching some projects and full LLVM as optinal feature
Crivella Jun 14, 2024
3aab618
Working without `clang-tools-extra` and `openmp`
Crivella Jun 18, 2024
485b411
Workin openmp installation
Crivella Jun 21, 2024
4860cde
Working test-suite
Crivella Jun 21, 2024
3ad9552
Working installation + testsuite with `clang-tools-extra`
Crivella Jun 24, 2024
9d459b0
linting
Crivella Jun 24, 2024
affaf33
Reduced errors and reimplemented OMPT_TOOLS
Crivella Jun 25, 2024
85359ae
Removing python dep from `lldb` in `full_llvm` mode
Crivella Jun 25, 2024
e25717a
Added more checks
Crivella Jun 25, 2024
5b68ae0
Re-running test-suite with 1 proc seems to work in a non bootstrapped…
Crivella Jul 3, 2024
924c1e0
Cleanup unused comments
Crivella Jul 3, 2024
044657f
Linting
Crivella Jul 3, 2024
59ab5de
rename `remove_gcc_opts` to `remove_gcc_dependency_opts`
Crivella Jul 3, 2024
a717592
Added `build_openmp_tools` option
Crivella Jul 3, 2024
c9d32d5
Added installation of python bindings
Crivella Jul 3, 2024
9d0d2bf
Makes sure a static build is also successful
Crivella Jul 4, 2024
fc17b63
Improved sanity checks
Crivella Jul 4, 2024
22e8257
Reelocated OPENMP_ENABLE_LIBOMPTARGET check
Crivella Jul 4, 2024
0591bbc
Added missing option and authors
Crivella Jul 4, 2024
7d84ef5
compiler-rt files
Crivella Jul 4, 2024
f135f75
Fix for python bindings
Crivella Jul 4, 2024
9e4cd82
Tested with `build_targets = 'all'`
Crivella Jul 4, 2024
d3de2bd
Improved test results logging
Crivella Jul 5, 2024
e9010c1
Avoid overriding bramework built-in `_test_step`
Crivella Jul 8, 2024
2c88aae
Allow `libomptarget` for all build_targets
Crivella Jul 8, 2024
41d2ae7
Improved GPU building and sanity check
Crivella Jul 9, 2024
6f6c064
lint
Crivella Jul 9, 2024
ff78a8d
Fix based on name found in CMakeLists
Crivella Jul 9, 2024
63cc784
Fix proper handling of GPU targets
Crivella Jul 9, 2024
5483430
Made `lld` the default for both `clang` and `flang-new` when enabled
Crivella Jul 10, 2024
6c9bb6a
Fix and tested RPATH compilation
Crivella Jul 10, 2024
adba4c7
Added context for setting/resetting env vars
Crivella Jul 11, 2024
2396f3b
Apply GCC_INSTALL_PREFIX to all stages
Crivella Jul 12, 2024
db58450
Added `minimal` build option
Crivella Jul 17, 2024
a83f4cc
lint
Crivella Jul 17, 2024
d2167ef
Switched new naming `LLVMcore` to existing `LLVM`
Crivella Jul 18, 2024
879ced7
Switched full_llvm default
Crivella Jul 18, 2024
1bac459
Moved version check in configure step to allow `inject_checksums` and…
Crivella Jul 18, 2024
3df55d2
Changed build_runtimes default to allow `module-only` in CI test
Crivella Jul 18, 2024
659f18f
Added `DEFAULT_SYSROOT`
Crivella Jul 19, 2024
14e2cb0
Added CMAKE_SYSROOT
Crivella Jul 25, 2024
3e7645a
Added original check for cuda/amd deps in enabling default targets
Crivella Aug 28, 2024
fbd2fb7
Autoenable NVPTX/AMDGPU if `cuda_compute_capabilities`/`amd_gfx_list`…
Crivella Aug 28, 2024
6534d6d
Add warning
Crivella Aug 28, 2024
4416cae
Run test suite directly in serial
Crivella Sep 5, 2024
7a99053
Added option to replace deprecated `GCC_INSTALL_PREFIX`
Crivella Sep 12, 2024
0b9dfa4
Switched usage of `--gcc-install-dir` for LLVM >=19. Added config fil…
Crivella Sep 12, 2024
0e7a85f
Make sure gcc_prefix works also in moduleonly and add debug feature f…
Crivella Sep 12, 2024
d2fff9b
Support for python<3.8
Crivella Sep 26, 2024
1b09591
Use `copy_tree` instead of `shutil.copytree` directly
Crivella Sep 30, 2024
0c5d408
Added possibility to time out tests
Crivella Sep 30, 2024
5d5bf1f
Revert
Crivella Oct 3, 2024
980cd06
Changed `runtimes_cmake_args` into a list
Crivella Oct 3, 2024
944332b
Added check for test timeouts and psutil
Crivella Oct 4, 2024
c95c69e
lint
Crivella Oct 4, 2024
20edf19
Fix missing `self`
Crivella Oct 7, 2024
f10ff75
Changes for LLVM 19
Crivella Oct 7, 2024
0837641
Fix for sanity check with linked LLVM runtimes
Crivella Oct 7, 2024
0a0932e
Check `final_runtimes`
Crivella Oct 8, 2024
ff7e363
Imrpoved `runtimes_cmake_args` and fix for `full_llvm`
Crivella Oct 10, 2024
db547c0
lint
Crivella Oct 10, 2024
e10f8c6
Modularized `gcc_prefix` functionalities
Crivella Oct 14, 2024
224aaca
lint
Crivella Oct 14, 2024
8938c60
Fix for minimal builds
Crivella Oct 14, 2024
94b960b
Ensure compilers at every stage are `GCC_PREFIX` aware
Crivella Oct 15, 2024
abc9c34
lint
Crivella Oct 15, 2024
4b16c72
Ensure stage1 compilers and test suite are run with correct `GCC`
Crivella Oct 15, 2024
c13a05b
Ensure gcc_prefix is set in module-only
Crivella Oct 18, 2024
e2dab7a
Ensure `zlib` and `zstd` are not used if not provided as deps
Crivella Oct 22, 2024
6cf5064
Revert
Crivella Oct 24, 2024
8887313
WIP
Crivella Oct 24, 2024
0eb646e
Replace setting python cmake_opts with new functions in CMakeMake
Crivella Oct 24, 2024
13e7a22
lint
Crivella Oct 24, 2024
015cdd3
Minor adjustments
Crivella Oct 25, 2024
95c0bb9
Added command sanity check for BOLT
Crivella Oct 25, 2024
41b6920
Ensure cuda/amd offload plugins are build only if requested
Crivella Oct 28, 2024
e00e92d
Ensure Z3 is OFF if not a dep
Crivella Nov 18, 2024
a7edd3c
Added note on RPATH problem to be solved
Crivella Feb 7, 2025
c32ce0d
pic is not anymore an option for system toolchain
Crivella Feb 7, 2025
6f520b0
Imporved sanity_check logic
Crivella Feb 7, 2025
c2b7c9d
WIP: attempt to solve RPATH problem
Crivella Feb 7, 2025
8563044
Converted from `run_cmd` to `run_shell_cmd`
Crivella Feb 11, 2025
6185501
Option to enable/disable build of `offload`
Crivella Feb 11, 2025
a7d6d8e
Fix
Crivella Feb 11, 2025
906dffc
Removed check for `clang-pseudo`
Crivella Feb 11, 2025
52ccbc1
lint
Crivella Feb 13, 2025
6b03e98
Fix for possible different recognized triples
Crivella Feb 13, 2025
a748b75
Added clarifying comments
Crivella Feb 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading