|
79 | 79 | logger.addHandler(ch)
|
80 | 80 |
|
81 | 81 | PROJECT_NAME="IfcOpenShell"
|
82 |
| -PYTHON_VERSIONS=["2.7.16", "3.2.6", "3.3.6", "3.4.6", "3.5.3", "3.6.2", "3.7.3", "3.8.2"] |
| 82 | +PYTHON_VERSIONS=["2.7.16", "3.2.6", "3.3.6", "3.4.6", "3.5.3", "3.6.2", "3.7.3", "3.8.6", "3.9.1"] |
83 | 83 | JSON_VERSION="v3.6.1"
|
84 | 84 | OCE_VERSION="0.18"
|
85 | 85 | # OCCT_VERSION="7.1.0"
|
86 | 86 | # OCCT_HASH="89aebde"
|
87 | 87 | # OCCT_VERSION="7.2.0"
|
88 | 88 | # OCCT_HASH="88af392"
|
89 | 89 | OCCT_VERSION="7.3.0p3"
|
90 |
| -BOOST_VERSION="1.59.0" |
| 90 | +BOOST_VERSION="1.71.0" |
91 | 91 | #PCRE_VERSION="8.39"
|
92 | 92 | PCRE_VERSION="8.41"
|
93 | 93 | #LIBXML2_VERSION="2.9.3"
|
@@ -157,6 +157,13 @@ def to_pystring(x):
|
157 | 157 | if get_os() == "Darwin":
|
158 | 158 | # C++11 features used in OCCT 7+ need a more recent stdlib
|
159 | 159 | TOOLSET = "10.9" if USE_OCCT else "10.6"
|
| 160 | + |
| 161 | +# python 3.4 doesn't seem to build anymore on recent versions of clang |
| 162 | +if get_os() == "Darwin": |
| 163 | + try: |
| 164 | + PYTHON_VERSIONS.remove("3.4.6") |
| 165 | + except ValueError as e: |
| 166 | + pass |
160 | 167 |
|
161 | 168 | try:
|
162 | 169 | IFCOS_NUM_BUILD_PROCS = os.environ["IFCOS_NUM_BUILD_PROCS"]
|
@@ -303,7 +310,7 @@ def run(cmds, cwd=None):
|
303 | 310 | BOOST_VERSION_UNDERSCORE=BOOST_VERSION.replace(".", "_")
|
304 | 311 |
|
305 | 312 | OCE_LOCATION="https://github.com/tpaviot/oce/archive/OCE-%s.tar.gz" % (OCE_VERSION,)
|
306 |
| -BOOST_LOCATION="http://downloads.sourceforge.net/project/boost/boost/%s/boost_%s.tar.bz2" % (BOOST_VERSION, BOOST_VERSION_UNDERSCORE) |
| 313 | +BOOST_LOCATION="https://dl.bintray.com/boostorg/release/%s/source/" % (BOOST_VERSION,) |
307 | 314 |
|
308 | 315 | # Helper functions
|
309 | 316 |
|
@@ -580,7 +587,7 @@ def build_dependency(name, mode, build_tool_args, download_url, download_name, d
|
580 | 587 | download_url="https://github.com/KhronosGroup/OpenCOLLADA.git",
|
581 | 588 | download_name="OpenCOLLADA",
|
582 | 589 | download_tool=download_tool_git,
|
583 |
| - patch="./patches/opencollada/pr622.patch", |
| 590 | + patch="./patches/opencollada/pr622_and_disable_subdirs.patch", |
584 | 591 | revision=OPENCOLLADA_VERSION
|
585 | 592 | )
|
586 | 593 |
|
@@ -644,7 +651,7 @@ def PYTHON_VERSION_CONFS():
|
644 | 651 | list(map(str_concat("cxxflags"), CXXFLAGS.strip().split(' '))) + \
|
645 | 652 | list(map(str_concat("linkflags"), LDFLAGS.strip().split(' '))) + \
|
646 | 653 | ["stage", "-s", "NO_BZIP2=1"],
|
647 |
| - download_url="http://downloads.sourceforge.net/project/boost/boost/{BOOST_VERSION}/".format(**locals()), |
| 654 | + download_url=BOOST_LOCATION, |
648 | 655 | download_name="boost_{BOOST_VERSION_UNDERSCORE}.tar.bz2".format(**locals())
|
649 | 656 | )
|
650 | 657 |
|
|
0 commit comments