mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-04 11:55:51 +00:00
chore: Install apple-clang 17 locally (#2342)
This commit is contained in:
11
.github/scripts/conan/apple-clang-local.profile
vendored
Normal file
11
.github/scripts/conan/apple-clang-local.profile
vendored
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[settings]
|
||||||
|
arch={{detect_api.detect_arch()}}
|
||||||
|
build_type=Release
|
||||||
|
compiler=apple-clang
|
||||||
|
compiler.cppstd=20
|
||||||
|
compiler.libcxx=libc++
|
||||||
|
compiler.version=17
|
||||||
|
os=Macos
|
||||||
|
|
||||||
|
[conf]
|
||||||
|
grpc/1.50.1:tools.build:cxxflags+=["-Wno-missing-template-arg-list-after-template-kw"]
|
||||||
6
.github/scripts/conan/init.sh
vendored
6
.github/scripts/conan/init.sh
vendored
@@ -8,7 +8,11 @@ REPO_DIR="$(cd "$CURRENT_DIR/../../../" && pwd)"
|
|||||||
CONAN_DIR="${CONAN_HOME:-$HOME/.conan2}"
|
CONAN_DIR="${CONAN_HOME:-$HOME/.conan2}"
|
||||||
PROFILES_DIR="$CONAN_DIR/profiles"
|
PROFILES_DIR="$CONAN_DIR/profiles"
|
||||||
|
|
||||||
APPLE_CLANG_PROFILE="$CURRENT_DIR/apple-clang.profile"
|
if [[ -z "$CI" ]]; then
|
||||||
|
APPLE_CLANG_PROFILE="$CURRENT_DIR/apple-clang-local.profile"
|
||||||
|
else
|
||||||
|
APPLE_CLANG_PROFILE="$CURRENT_DIR/apple-clang-ci.profile"
|
||||||
|
fi
|
||||||
|
|
||||||
GCC_PROFILE="$REPO_DIR/docker/ci/conan/gcc.profile"
|
GCC_PROFILE="$REPO_DIR/docker/ci/conan/gcc.profile"
|
||||||
CLANG_PROFILE="$REPO_DIR/docker/ci/conan/clang.profile"
|
CLANG_PROFILE="$REPO_DIR/docker/ci/conan/clang.profile"
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ The default profile is the file in `~/.conan2/profiles/default`.
|
|||||||
|
|
||||||
Here are some examples of possible profiles:
|
Here are some examples of possible profiles:
|
||||||
|
|
||||||
**Mac apple-clang 16 example**:
|
**Mac apple-clang 17 example**:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
[settings]
|
[settings]
|
||||||
@@ -44,7 +44,7 @@ build_type=Release
|
|||||||
compiler=apple-clang
|
compiler=apple-clang
|
||||||
compiler.cppstd=20
|
compiler.cppstd=20
|
||||||
compiler.libcxx=libc++
|
compiler.libcxx=libc++
|
||||||
compiler.version=16
|
compiler.version=17
|
||||||
os=Macos
|
os=Macos
|
||||||
|
|
||||||
[conf]
|
[conf]
|
||||||
|
|||||||
Reference in New Issue
Block a user