Added ability to skip environment checks to main Makefile

This commit is contained in:
Eric Froemling 2020-10-13 14:31:22 -07:00
parent 6c2c54de7b
commit 84008b6276
2 changed files with 10 additions and 8 deletions

View File

@ -3948,8 +3948,8 @@
"build/prefab/lib/linux_x86_64/release/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/e1/1a/ff5b7abc008154a71152a1635d33",
"build/prefab/lib/linux_x86_64_server/debug/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/e6/93/af621822f3d5d6021efecac32235",
"build/prefab/lib/linux_x86_64_server/release/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/3e/62/cc942c068c685832f6b7664bbb0f",
"build/prefab/lib/mac_x86_64/debug/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/05/0f/16be52fbac429f879c0098c10fb6",
"build/prefab/lib/mac_x86_64/release/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/9d/46/4171a95c4a33d126d2df87ef7dd7",
"build/prefab/lib/mac_x86_64_server/debug/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/f7/f0/e2ae6fc13d95b8c60d5219dfa811",
"build/prefab/lib/mac_x86_64_server/release/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/0c/9a/68e1c21d6cdb544da522f97ff715"
"build/prefab/lib/mac_x86_64/debug/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/d0/51/f99dfba5fffabe2706db7fac2472",
"build/prefab/lib/mac_x86_64/release/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/86/18/d8ddf9ba6fea3e35f941155151c7",
"build/prefab/lib/mac_x86_64_server/debug/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/cc/26/a468f189bef013ba7d92f543bd0b",
"build/prefab/lib/mac_x86_64_server/release/libballisticacore_internal.a": "https://files.ballistica.net/cache/ba1/1b/fd/3fba7ca92c1ed628cbf7542eee4c"
}

View File

@ -804,11 +804,13 @@ ENV_SRC = tools/pcommand tools/batools/build.py
.pycheckers: config/toolconfigsrc/pycheckers ${TOOL_CFG_SRC}
@${TOOL_CFG_INST} $< $@
# Include anything as sources here that should require
# Set this to 1 to skip environment checks.
SKIP_CHECKENV ?= 0
.cache/checkenv: ${ENV_SRC}
@tools/pcommand checkenv
@mkdir -p .cache
@touch .cache/checkenv
@if [ ${SKIP_CHECKENV} -ne 1 ]; then \
tools/pcommand checkenv && mkdir -p .cache && touch .cache/checkenv; \
fi
# CMake build-type lowercase
CM_BT_LC = $(shell echo $(CMAKE_BUILD_TYPE) | tr A-Z a-z)