mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-14 17:06:38 +00:00
[CI] Use env variable to enable pip breaking system packages
This patch uses an env variable instead of the --break-system-packages flag. This enables the heterogenous configuration between the old and new premerge systems as the old premerge container does not recognize the --break-system-packages flag. An env variable will work on new premerge and have no impact on old premerge.
This commit is contained in:
parent
ed2b82fb8b
commit
582b1b2ac9
@ -53,9 +53,10 @@ targets="${2}"
|
||||
lit_args="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests"
|
||||
|
||||
echo "--- cmake"
|
||||
pip install --break-system-packages -q -r "${MONOREPO_ROOT}"/mlir/python/requirements.txt
|
||||
pip install --break-system-packages -q -r "${MONOREPO_ROOT}"/lldb/test/requirements.txt
|
||||
pip install --break-system-packages -q -r "${MONOREPO_ROOT}"/.ci/requirements.txt
|
||||
export PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
pip install -q -r "${MONOREPO_ROOT}"/mlir/python/requirements.txt
|
||||
pip install -q -r "${MONOREPO_ROOT}"/lldb/test/requirements.txt
|
||||
pip install -q -r "${MONOREPO_ROOT}"/.ci/requirements.txt
|
||||
cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
|
||||
-D LLVM_ENABLE_PROJECTS="${projects}" \
|
||||
-G Ninja \
|
||||
|
Loading…
x
Reference in New Issue
Block a user