mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 13:23:40 +00:00
build-all: clean up unused variables
`BOOST_VERSION_UNDERSCORE` unused since2e35b07`OCE_LOCATION` is dead since it was introduced72d8b5377(and was a dead variable in build-all.sh too) `curl`, `wget` - replaced with `urlretrieve back in51cf52c38Moved `BOOST_LOCATION` next to its `build_dependency`, so it will have a harder time getting lost.
This commit is contained in:
+1
-7
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user