summarylogtreecommitdiffstats
path: root/compile.bash
diff options
context:
space:
mode:
Diffstat (limited to 'compile.bash')
-rwxr-xr-xcompile.bash23
1 files changed, 4 insertions, 19 deletions
diff --git a/compile.bash b/compile.bash
index 8cdebc0a1768..cad628deb7ca 100755
--- a/compile.bash
+++ b/compile.bash
@@ -1,29 +1,14 @@
#!/usr/bin/env bash
set -e
-# workaround for broken venv/autobuild
virtualenv ".venv" -p python3
. ".venv/bin/activate"
pip install --upgrade certifi
-#if command -v autobuild && \
-# [ "$(autobuild --version | cut -d ' ' -f 2 | tr -d '.')" -gt 210 ]
-#then
-# echo "Found Autobuild"
-#else
- pip3 install --upgrade llbase
- # pip3 uninstall autobuild --yes
- pip3 install --no-cache-dir --upgrade autobuild -i \
- https://git.alchemyviewer.org/api/v4/projects/54/packages/pypi/simple \
- --extra-index-url https://pypi.org/simple
-#fi
+pip3 install --upgrade llbase
+pip3 install --no-cache-dir --upgrade autobuild -i \
+ https://git.alchemyviewer.org/api/v4/projects/54/packages/pypi/simple \
+ --extra-index-url https://pypi.org/simple
# we have a lot of files, relax ulimit to help performance
ulimit -n 20000
-# shellcheck disable=SC2153
-# LTO is currently very broken for alchemy
-#autobuild configure -A 64 -c ReleaseOS -- \
-# -DLL_TESTS:BOOL=OFF \
-# -DDISABLE_FATAL_WARNINGS=ON \
-# -DUSE_LTO:BOOL="$(grep -cq '[^!]lto' <<< "${1}" && echo 'ON' || echo 'OFF')" \
-# -DVIEWER_CHANNEL="Alchemy Test"
AUTOBUILD_CPU_COUNT=$(nproc)
if [[ ${AUTOBUILD_CPU_COUNT} -gt 1 ]]; then
#if false; then