Skip to content

Commit

Permalink
this helps cmake to detect gcc 12 rather than 8
Browse files Browse the repository at this point in the history
  • Loading branch information
raema committed May 9, 2023
1 parent 55cab14 commit d162ccc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/run-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ function sudo_password() {
cd ..
mkdir build
cd build

source /opt/rh/gcc-toolset-12/enable

cmake ../cachelib -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_BUILD_TYPE=Debug
sudo_password make install -j$(nproc)

Expand Down

0 comments on commit d162ccc

Please sign in to comment.