Skip to content

Commit

Permalink
Upgrade to (at least) Catalyst 4 before trying to run Catalyst
Browse files Browse the repository at this point in the history
The changes to support Catalyst 4 are not backwards compatible and we
need a seamless transition for builds in CI.

Signed-off-by: James Le Cuirot <[email protected]>
  • Loading branch information
chewi committed Jul 11, 2024
1 parent 6e5c5bc commit 0bbed7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build_library/catalyst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Before doing anything, ensure we have at least Catalyst 4.
if catalyst --version | grep -q "Catalyst [0-3]\."; then
sudo emerge -v1 ">=dev-util/catalyst-4" || exit 1
fi

# common.sh should be sourced first
[[ -n "${DEFAULT_BUILD_ROOT}" ]] || exit 1
. "${SCRIPTS_DIR}/sdk_lib/sdk_util.sh" || exit 1
Expand Down

0 comments on commit 0bbed7d

Please sign in to comment.