build-all: clean up unused variables

`BOOST_VERSION_UNDERSCORE` unused since 2e35b07

`OCE_LOCATION` is dead since it was introduced 72d8b5377 (and was a dead variable in build-all.sh too)

`curl`, `wget` - replaced with `urlretrieve back in 51cf52c38

Moved `BOOST_LOCATION` next to its `build_dependency`, so it will have a harder time getting lost.
This commit is contained in:
Andrej730
2026-09-01 15:49:37 +05:00
parent 2afbb46eca
commit f462424185
+1 -7
View File
@@ -189,8 +189,6 @@ autoconf = "autoconf"
automake = "automake"
make = "make"
date = "date"
curl = "curl"
wget = "wget"
strip = "strip"
xz = "xz" # Used implicitly for `tar -xf *.tar.xz`.
brew = "brew"
@@ -685,11 +683,6 @@ if APPLE:
# PYTHON_VERSIONS = [pv for pv in PYTHON_VERSIONS if tuple(map(int, pv.split("."))) < (3, 11)]
pass
BOOST_VERSION_UNDERSCORE = BOOST_VERSION.replace(".", "_")
OCE_LOCATION = f"https://github.com/tpaviot/oce/archive/OCE-{OCE_VERSION}.tar.gz"
BOOST_LOCATION = f"https://github.com/boostorg/boost/releases/download/boost-{BOOST_VERSION}/"
# Helper functions
@@ -1458,6 +1451,7 @@ if "python" in targets and not USE_CURRENT_PYTHON_VERSION and not WASM:
os.environ["CFLAGS"] = OLD_C_FLAGS
if "boost" in targets:
BOOST_LOCATION = f"https://github.com/boostorg/boost/releases/download/boost-{BOOST_VERSION}/"
str_concat = lambda prefix: lambda postfix: "" if postfix.strip() == "" else "=".join((prefix, postfix.strip()))
toolset = []
if WASM: