Skip to content

Commit 2038c80

Browse files
committed
tooling: Fix warning from missing default build profile
1 parent fc6bcb1 commit 2038c80

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build-cloe.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ jobs:
4646
make -f Makefile.setup PIP_INSTALL_ARGS="" install-python-deps
4747
- name: Configure Conan
4848
run: |
49-
conan profile new --detect default &&
50-
conan profile update settings.build_type=${{ matrix.build_type }} default &&
51-
conan profile update settings.compiler.libcxx=libstdc++11 default &&
49+
make setup-conan &&
5250
# NOTE: Boost 1.69 has a bug (fixed in 74fb0a26099bc51d717f5f154b37231ce7df3e98) that
5351
# prevents GCC >= 11 from interoperation, so disable the server for this case.
5452
# (The server feature depends on cloe-oak, which *currently* depends on Boost <= 1.69.)

Makefile.setup

+3
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ setup-conan:
7575
conan profile update settings.compiler.libcxx=libstdc++11 ${CONAN_PROFILE}; \
7676
conan profile update settings.build_type=RelWithDebInfo ${CONAN_PROFILE}; \
7777
fi
78+
if ! conan config get general.default_build_profile >/dev/null 2>&1; then \
79+
conan config set general.default_build_profile=default; \
80+
fi
7881
if ! conan config get general.revisions_enabled >/dev/null 2>&1; then \
7982
conan config set general.revisions_enabled=True; \
8083
fi

0 commit comments

Comments
 (0)