Skip to content

Commit

Permalink
fixup! tooling: Make cloe a super-build of all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
cassava committed May 17, 2024
1 parent 231b4e0 commit d60a1dc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-cloe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
# This cannot be currently enabled because of a Conan deficiency in v1.
# Once all build tooling is based on Conan v2, we can re-enable this use-case.
# Until then, use the previous target for this use-case.
- "export-vendor editable-select build-all smoketest TEST_CONANFILES=tests/conanfile_deployment.py"
- "export-vendor editable-select fetch-protobuf build-all smoketest TEST_CONANFILES=tests/conanfile_deployment.py"
env:
CONAN_NON_INTERACTIVE: "yes"
DEBIAN_FRONTEND: noninteractive
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,14 @@ purge-all:
package-all:
conan install $(CONAN_OPTIONS) --install-folder $(DEPLOY_DIR) --build=missing --build=outdated $(DEPLOY_LOCKFILE_SOURCE)

.PHONY: fetch-protobuf
fetch-protobuf:
# This is needed for `build-all` to work with Conan v1.
# If protobuf is not already available, then conan will want to build it,
# but it won't find it in the lockfile, because a package cannot be in
# host and build context simultaneously.
conan install --build-require protobuf/3.21.12@_/_

# Development targets ---------------------------------------------------------
help::
$(call print_help_section, "Available development targets")
Expand Down

0 comments on commit d60a1dc

Please sign in to comment.