-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch from the dev/build.sh script too
- Loading branch information
Showing
2 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Import reusable bits | ||
pushd $( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) > /dev/null | ||
pushd "$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" > /dev/null || exit 1 | ||
. functions.sh | ||
popd > /dev/null | ||
popd > /dev/null || exit 1 | ||
|
||
ALIRE_BUILD_JOBS="${ALIRE_BUILD_JOBS:-0}" | ||
export ALIRE_OS=$(get_OS) | ||
ALIRE_OS=$(get_OS); export ALIRE_OS | ||
|
||
scripts/version-patcher.sh | ||
|
||
echo "Building with ALIRE_OS=$ALIRE_OS..." | ||
gprbuild "-j$ALIRE_BUILD_JOBS" -r -p -P `dirname $0`/../alr_env.gpr "$@" | ||
gprbuild "-j$ALIRE_BUILD_JOBS" -r -p -P "$(dirname $0)/../alr_env.gpr" "$@" | ||
|
||
scripts/version-patcher.sh _or_later |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters