mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 14:26:30 +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"
|
automake = "automake"
|
||||||
make = "make"
|
make = "make"
|
||||||
date = "date"
|
date = "date"
|
||||||
curl = "curl"
|
|
||||||
wget = "wget"
|
|
||||||
strip = "strip"
|
strip = "strip"
|
||||||
xz = "xz" # Used implicitly for `tar -xf *.tar.xz`.
|
xz = "xz" # Used implicitly for `tar -xf *.tar.xz`.
|
||||||
brew = "brew"
|
brew = "brew"
|
||||||
@@ -685,11 +683,6 @@ if APPLE:
|
|||||||
# PYTHON_VERSIONS = [pv for pv in PYTHON_VERSIONS if tuple(map(int, pv.split("."))) < (3, 11)]
|
# PYTHON_VERSIONS = [pv for pv in PYTHON_VERSIONS if tuple(map(int, pv.split("."))) < (3, 11)]
|
||||||
pass
|
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
|
# 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
|
os.environ["CFLAGS"] = OLD_C_FLAGS
|
||||||
|
|
||||||
if "boost" in targets:
|
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()))
|
str_concat = lambda prefix: lambda postfix: "" if postfix.strip() == "" else "=".join((prefix, postfix.strip()))
|
||||||
toolset = []
|
toolset = []
|
||||||
if WASM:
|
if WASM:
|
||||||
|
|||||||
Reference in New Issue
Block a user