File tree 3 files changed +5
-7
lines changed
3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ jobs:
365
365
run : |
366
366
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
367
367
sudo apt-get update
368
- sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev python3-pip
368
+ sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev python3-pip lld
369
369
wget https://apt.llvm.org/llvm.sh
370
370
chmod u+x llvm.sh
371
371
sudo ./llvm.sh 19 all
@@ -382,7 +382,10 @@ jobs:
382
382
-G Ninja -D USE_SEQ=ON -D USE_MPI=ON -D USE_OMP=ON -D USE_TBB=ON -D USE_STL=ON
383
383
-D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
384
384
-D CMAKE_BUILD_TYPE=RELEASE -D ENABLE_ADDRESS_SANITIZER=ON -D ENABLE_UB_SANITIZER=ON
385
- -DCMAKE_INSTALL_PREFIX=install
385
+ -D CMAKE_INSTALL_PREFIX=install
386
+ -D CMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld"
387
+ -D CMAKE_SHARED_LINKER_FLAGS="-fuse-ld=lld"
388
+ -D CMAKE_MODULE_LINKER_FLAGS="-fuse-ld=lld"
386
389
env :
387
390
CC : clang-19
388
391
CXX : clang++-19
Original file line number Diff line number Diff line change 1
1
#include < gtest/gtest.h>
2
2
#include < mpi.h>
3
- #include < tbb/global_control.h>
4
3
5
4
#include < cstdio>
6
5
#include < cstdlib>
@@ -17,9 +16,7 @@ class UnreadMessagesDetector : public ::testing::EmptyTestEventListener {
17
16
18
17
void OnTestEnd (const ::testing::TestInfo& test_info) override {
19
18
int rank = -1 ;
20
- int size = -1 ;
21
19
MPI_Comm_rank (MPI_COMM_WORLD, &rank);
22
- MPI_Comm_size (MPI_COMM_WORLD, &size);
23
20
24
21
MPI_Barrier (MPI_COMM_WORLD);
25
22
Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ class UnreadMessagesDetector : public ::testing::EmptyTestEventListener {
13
13
14
14
void OnTestEnd (const ::testing::TestInfo& test_info) override {
15
15
int rank = -1 ;
16
- int size = -1 ;
17
16
MPI_Comm_rank (MPI_COMM_WORLD, &rank);
18
- MPI_Comm_size (MPI_COMM_WORLD, &size);
19
17
20
18
MPI_Barrier (MPI_COMM_WORLD);
21
19
You can’t perform that action at this time.
0 commit comments