mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
[build] Pass SKIP envs
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
committed by
Konstantin Pastbin
parent
76cb6803c2
commit
ee25fa0e36
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
SKIP_MAP_DOWNLOAD=$SKIP_MAP_DOWNLOAD
|
||||||
|
SKIP_GENERATE_SYMBOLS=$SKIP_GENERATE_SYMBOLS
|
||||||
|
SKIP_GENERATE_DRULES=$SKIP_GENERATE_DRULES
|
||||||
|
|
||||||
OPT_DEBUG=
|
OPT_DEBUG=
|
||||||
OPT_RELEASE=
|
OPT_RELEASE=
|
||||||
OPT_RELEASEDEBUGINFO=
|
OPT_RELEASEDEBUGINFO=
|
||||||
@@ -76,8 +80,10 @@ OMIM_PATH="$(cd "${OMIM_PATH:-$(dirname "$0")/../..}"; pwd)"
|
|||||||
|
|
||||||
if [ "$OPT_TARGET" == "desktop" ]; then
|
if [ "$OPT_TARGET" == "desktop" ]; then
|
||||||
./configure.sh
|
./configure.sh
|
||||||
else
|
elif [ -z "$SKIP_MAP_DOWNLOAD$SKIP_GENERATE_SYMBOLS$SKIP_GENERATE_DRULES" ]
|
||||||
SKIP_MAP_DOWNLOAD=1 SKIP_GENERATE_SYMBOLS=1 SKIP_GENERATE_DRULES=1 ./configure.sh
|
SKIP_MAP_DOWNLOAD=1 SKIP_GENERATE_SYMBOLS=1 SKIP_GENERATE_DRULES=1 ./configure.sh
|
||||||
|
else
|
||||||
|
./configure.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DEVTOOLSET_PATH=/opt/rh/devtoolset-7
|
DEVTOOLSET_PATH=/opt/rh/devtoolset-7
|
||||||
|
|||||||
Reference in New Issue
Block a user