Skip to content

Commit

Permalink
Fix to long-standing compiler detection issue with Conan/CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
John McFarlane committed Mar 11, 2023
1 parent 6a357b0 commit 6a7120f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions workflows/conan/clang-static-analyzer
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -euo pipefail

PROJECT_DIR=$(cd "$(dirname "$0")"/../..; pwd)
NUM_CPUS=$(nproc)
export CC=clang
export CXX=clang++

"$PROJECT_DIR"/workflows/conan/install clang-static-analyzer
Expand Down
1 change: 1 addition & 0 deletions workflows/conan/libfuzzer
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -euo pipefail

PROJECT_DIR=$(cd "$(dirname "$0")"/../..; pwd)
export CC=clang
export CXX=clang++

"$PROJECT_DIR"/workflows/conan/install libfuzzer
Expand Down
1 change: 1 addition & 0 deletions workflows/conan/release-clang
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -euo pipefail

PROJECT_DIR=$(cd "$(dirname "$0")"/../..; pwd)
export CC=clang
export CXX=clang++

"$PROJECT_DIR"/workflows/conan/install release-clang
Expand Down
1 change: 1 addition & 0 deletions workflows/conan/release-gcc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -euo pipefail

PROJECT_DIR=$(cd "$(dirname "$0")"/../..; pwd)
export CC=gcc
export CXX=g++

"$PROJECT_DIR"/workflows/conan/install release-gcc
Expand Down
1 change: 1 addition & 0 deletions workflows/conan/test-clang
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -euo pipefail

PROJECT_DIR=$(cd "$(dirname "$0")"/../..; pwd)
export CC=clang
export CXX=clang++

"$PROJECT_DIR"/workflows/conan/install test-clang
Expand Down
1 change: 1 addition & 0 deletions workflows/conan/test-gcc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -euo pipefail

PROJECT_DIR=$(cd "$(dirname "$0")"/../..; pwd)
export CC=gcc
export CXX=g++

"$PROJECT_DIR"/workflows/conan/install test-gcc
Expand Down

0 comments on commit 6a7120f

Please sign in to comment.