Skip to content

Commit

Permalink
use clang-17
Browse files Browse the repository at this point in the history
  • Loading branch information
lucafedeli88 committed Apr 29, 2024
1 parent 0a489d7 commit 4b3abe2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/clang_sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ jobs:
export CCACHE_MAXSIZE=100M
ccache -z
export CXX=$(which clang++-15)
export CC=$(which clang-15)
export CXX=$(which clang++-17)
export CC=$(which clang-17)
export CXXFLAGS="-fsanitize=thread"
cmake -S . -B build \
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/dependencies/clang17.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ sudo apt-get install -y \
curl \
git

# ccache
$(dirname "$0")/ccache.sh
# set clang 17 as the CXX compiler

# cmake-easyinstall
#
Expand All @@ -49,17 +48,19 @@ export CEI_TMP="/tmp/cei"

# BLAS++ & LAPACK++
cmake-easyinstall \
--prefix=/usr/local \
--prefix=/usr/local \
git+https://github.com/icl-utk-edu/blaspp.git \
-Duse_openmp=OFF \
-Dbuild_tests=OFF \
-Duse_openmp=OFF \
-Dbuild_tests=OFF \
-CMAKE_CXX_COMPILER="clang++-17" \
-DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache) \
-DCMAKE_VERBOSE_MAKEFILE=ON

cmake-easyinstall \
--prefix=/usr/local \
--prefix=/usr/local \
git+https://github.com/icl-utk-edu/lapackpp.git \
-Duse_cmake_find_lapack=ON \
-Dbuild_tests=OFF \
-DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache) \
-Duse_cmake_find_lapack=ON \
-Dbuild_tests=OFF \
-CMAKE_CXX_COMPILER="clang++-17" \
-DCMAKE_CXX_COMPILER_LAUNCHER=$(which ccache) \
-DCMAKE_VERBOSE_MAKEFILE=ON

0 comments on commit 4b3abe2

Please sign in to comment.