mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
remove last TAG
This commit is contained in:
+5
-2
@@ -100,7 +100,7 @@ autoconf = "autoconf"
|
|||||||
automake = "automake"
|
automake = "automake"
|
||||||
yacc = "yacc"
|
yacc = "yacc"
|
||||||
make = "make"
|
make = "make"
|
||||||
date = "date"
|
date = "date"
|
||||||
curl = "curl"
|
curl = "curl"
|
||||||
wget = "wget"
|
wget = "wget"
|
||||||
strip = "strip"
|
strip = "strip"
|
||||||
@@ -280,6 +280,7 @@ BOOST_LOCATION = f"https://boostorg.jfrog.io/artifactory/main/release/{BOOST_VER
|
|||||||
|
|
||||||
# Helper functions
|
# Helper functions
|
||||||
|
|
||||||
|
|
||||||
def run_autoconf(arg1, configure_args, cwd):
|
def run_autoconf(arg1, configure_args, cwd):
|
||||||
configure_path = os.path.realpath(os.path.join(cwd, "..", "configure"))
|
configure_path = os.path.realpath(os.path.join(cwd, "..", "configure"))
|
||||||
if not os.path.exists(configure_path):
|
if not os.path.exists(configure_path):
|
||||||
@@ -288,6 +289,7 @@ def run_autoconf(arg1, configure_args, cwd):
|
|||||||
prefix = os.path.realpath(f"{DEPS_DIR}/install/{arg1}")
|
prefix = os.path.realpath(f"{DEPS_DIR}/install/{arg1}")
|
||||||
run(["/bin/sh", "../configure"] + configure_args + [f"--prefix={prefix}"], cwd=cwd)
|
run(["/bin/sh", "../configure"] + configure_args + [f"--prefix={prefix}"], cwd=cwd)
|
||||||
|
|
||||||
|
|
||||||
def run_cmake(arg1, cmake_args, cmake_dir=None, cwd=None):
|
def run_cmake(arg1, cmake_args, cmake_dir=None, cwd=None):
|
||||||
if cmake_dir is None:
|
if cmake_dir is None:
|
||||||
P = ".."
|
P = ".."
|
||||||
@@ -295,6 +297,7 @@ def run_cmake(arg1, cmake_args, cmake_dir=None, cwd=None):
|
|||||||
P = cmake_dir
|
P = cmake_dir
|
||||||
run(["cmake", P] + cmake_args + [f"-DCMAKE_BUILD_TYPE={BUILD_CFG}"], cwd=cwd)
|
run(["cmake", P] + cmake_args + [f"-DCMAKE_BUILD_TYPE={BUILD_CFG}"], cwd=cwd)
|
||||||
|
|
||||||
|
|
||||||
def git_clone_or_pull_repository(clone_url, target_dir, revision=None):
|
def git_clone_or_pull_repository(clone_url, target_dir, revision=None):
|
||||||
"""Lazily clones the `git` repository denoted by `clone_url` into
|
"""Lazily clones the `git` repository denoted by `clone_url` into
|
||||||
the `target_dir` or pulls latest changes if the `target_dir` exists (naively assumes
|
the `target_dir` or pulls latest changes if the `target_dir` exists (naively assumes
|
||||||
@@ -767,7 +770,7 @@ if "IfcOpenShell-Python" in targets:
|
|||||||
os.environ["LDFLAGS"] = f"{LDFLAGS} {ADDITIONAL_ARGS}"
|
os.environ["LDFLAGS"] = f"{LDFLAGS} {ADDITIONAL_ARGS}"
|
||||||
|
|
||||||
for PYTHON_VERSION in PYTHON_VERSIONS:
|
for PYTHON_VERSION in PYTHON_VERSIONS:
|
||||||
logger.info(f"\rConfiguring python {PYTHON_VERSION}{TAG} wrapper...")
|
logger.info(f"\rConfiguring python {PYTHON_VERSION} wrapper...")
|
||||||
|
|
||||||
python_dir = os.path.join(IFCOS_DIR, "pythonwrapper")
|
python_dir = os.path.join(IFCOS_DIR, "pythonwrapper")
|
||||||
if not os.path.exists(python_dir):
|
if not os.path.exists(python_dir):
|
||||||
|
|||||||
Reference in New Issue
Block a user