Skip to content

Commit 884483d

Browse files
committed
Adding llvm/19 and 20 and cmake/4
1 parent a31463c commit 884483d

File tree

5 files changed

+97
-1
lines changed

5 files changed

+97
-1
lines changed

.jenkins/lsu/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pipeline {
3737
axes {
3838
axis {
3939
name 'configuration_name'
40-
values 'gcc-11', 'gcc-12', 'gcc-13', 'gcc-14', 'clang-17-apex', 'clang-16', 'clang-17', 'clang-18', 'gcc-12-cuda-12', 'gcc-12-cuda-12-dgx', 'hipcc'
40+
values 'gcc-11', 'gcc-12', 'gcc-13', 'gcc-14', 'clang-17-apex', 'clang-16', 'clang-17', 'clang-18', 'clang-19', 'clang-20', 'gcc-12-cuda-12', 'gcc-12-cuda-12-dgx', 'hipcc'
4141
}
4242
axis {
4343
name 'build_type'

.jenkins/lsu/env-clang-19.sh

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Copyright (c) 2020 ETH Zurich
2+
# Copyright (c) 2025 Alireza Kheirkhahan
3+
#
4+
# SPDX-License-Identifier: BSL-1.0
5+
# Distributed under the Boost Software License, Version 1.0. (See accompanying
6+
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7+
8+
module purge
9+
module load cmake
10+
module load llvm/19
11+
module load boost/1.87.0-${build_type,,}
12+
module load hwloc
13+
module load openmpi
14+
15+
export HPXRUN_RUNWRAPPER=srun
16+
export CXX_STD="20"
17+
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
18+
19+
configure_extra_options+=" -DCMAKE_BUILD_TYPE=${build_type}"
20+
configure_extra_options+=" -DHPX_WITH_CXX_STANDARD=${CXX_STD}"
21+
configure_extra_options+=" -DHPX_WITH_MALLOC=system"
22+
configure_extra_options+=" -DHPX_WITH_FETCH_ASIO=ON"
23+
configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS=ON"
24+
configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS_AS_ERRORS=ON"
25+
configure_extra_options+=" -DHPX_WITH_PARCELPORT_MPI=ON"
26+
configure_extra_options+=" -DHPX_WITH_PARCELPORT_LCI=ON"
27+
configure_extra_options+=" -DHPX_WITH_FETCH_LCI=ON"
28+
configure_extra_options+=" -DCMAKE_C_COMPILER=clang"
29+
configure_extra_options+=" -DCMAKE_C_FLAGS=-fPIC"
30+
configure_extra_options+=" -DHPX_WITH_LOGGING=OFF"
31+
configure_extra_options+=" -DHPX_WITH_DATAPAR_BACKEND=EVE"
32+
configure_extra_options+=" -DHPX_WITH_FETCH_EVE=ON"
33+
34+
# The pwrapi library still needs to be set up properly on rostam
35+
# configure_extra_options+=" -DHPX_WITH_POWER_COUNTER=ON"
36+
37+
# Make sure HWLOC does not report 'cores'. This is purely an option to enable
38+
# testing the topology code under conditions close to those on FreeBSD.
39+
configure_extra_options+=" -DHPX_TOPOLOGY_WITH_ADDITIONAL_HWLOC_TESTING=ON"

.jenkins/lsu/env-clang-20.sh

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Copyright (c) 2020 ETH Zurich
2+
# Copyright (c) 2025 Alireza Kheirkhahan
3+
#
4+
# SPDX-License-Identifier: BSL-1.0
5+
# Distributed under the Boost Software License, Version 1.0. (See accompanying
6+
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7+
8+
module purge
9+
module load cmake/4
10+
module load llvm/20
11+
module load boost/1.87.0-${build_type,,}
12+
module load hwloc
13+
module load openmpi
14+
15+
export HPXRUN_RUNWRAPPER=srun
16+
export CXX_STD="20"
17+
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
18+
19+
configure_extra_options+=" -DCMAKE_BUILD_TYPE=${build_type}"
20+
configure_extra_options+=" -DHPX_WITH_CXX_STANDARD=${CXX_STD}"
21+
configure_extra_options+=" -DHPX_WITH_MALLOC=system"
22+
configure_extra_options+=" -DHPX_WITH_FETCH_ASIO=ON"
23+
configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS=ON"
24+
configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS_AS_ERRORS=ON"
25+
configure_extra_options+=" -DHPX_WITH_PARCELPORT_MPI=ON"
26+
configure_extra_options+=" -DHPX_WITH_PARCELPORT_LCI=ON"
27+
configure_extra_options+=" -DHPX_WITH_FETCH_LCI=ON"
28+
configure_extra_options+=" -DCMAKE_C_COMPILER=clang"
29+
configure_extra_options+=" -DCMAKE_C_FLAGS=-fPIC"
30+
configure_extra_options+=" -DHPX_WITH_LOGGING=OFF"
31+
configure_extra_options+=" -DHPX_WITH_DATAPAR_BACKEND=EVE"
32+
configure_extra_options+=" -DHPX_WITH_FETCH_EVE=ON"
33+
34+
# The pwrapi library still needs to be set up properly on rostam
35+
# configure_extra_options+=" -DHPX_WITH_POWER_COUNTER=ON"
36+
37+
# Make sure HWLOC does not report 'cores'. This is purely an option to enable
38+
# testing the topology code under conditions close to those on FreeBSD.
39+
configure_extra_options+=" -DHPX_TOPOLOGY_WITH_ADDITIONAL_HWLOC_TESTING=ON"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2020 ETH Zurich
2+
# Copyright (c) 2025 Alireza Kheirkhahan
3+
#
4+
# SPDX-License-Identifier: BSL-1.0
5+
# Distributed under the Boost Software License, Version 1.0. (See accompanying
6+
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7+
8+
configuration_slurm_partition="jenkins-compute"
9+
configuration_slurm_num_nodes="1"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2020 ETH Zurich
2+
# Copyright (c) 2025 Alireza Kheirkhahan
3+
#
4+
# SPDX-License-Identifier: BSL-1.0
5+
# Distributed under the Boost Software License, Version 1.0. (See accompanying
6+
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7+
8+
configuration_slurm_partition="jenkins-compute"
9+
configuration_slurm_num_nodes="1"

0 commit comments

Comments
 (0)