From f462424185706215cbf303c1aab693fa0f68f52e Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 1 Sep 2026 15:49:37 +0500 Subject: [PATCH] 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. --- nix/build-all.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/nix/build-all.py b/nix/build-all.py index 155edfd7ea..a704ecc3f7 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -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: