This script fetches and builds IfcOpenShell and its dependencies
Script configuration:
* Target Architecture = x86_64
- Whether 32-bit (i686) or 64-bit (x86_64) will be built.
* USE_OCCT = True
- Compiling against official Open Cascade
* Dependency Directory = /Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9
- The directory where IfcOpenShell dependencies are installed.
* Build Config Type = RelWithDebInfo
- The used build configuration type for the dependencies.
Defaults to RelWithDebInfo if not specified.
* IFCOS_NUM_BUILD_PROCS = 5
- How many compiler processes may be run in parallel.
Building: pcre python libxml2 swig json boost occ IfcParse OpenCOLLADA IfcGeom IfcGeomServer IfcOpenShell-Python IfcConvert
using command log file '/Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/logs/20190606.log'
Collecting dependencies:
Found existing cmake-3.4.1, skipping
Found existing pcre-8.39, skipping
Found existing swig, skipping
Fetching occt-7.3.0p3...
directory '/Users/kuba/dev/projects-bim/IfcOpenShell/build/Darwin/x86_64/10.9/build/occt' exists, skipping cloning
----------------------------------------------------------------------
error: pathspec 'V7_3_0p3' did not match any file(s) known to git
----------------------------------------------------------------------
Traceback (most recent call last):
File "./build-all.py", line 532, in <module>
revision="V" + OCCT_VERSION.replace('.', '_')
File "./build-all.py", line 359, in build_dependency
git_clone(download_url, target_dir=os.path.join(build_dir, download_name), revision=revision)
File "./build-all.py", line 323, in git_clone
run([git, "checkout", revision], cwd=target_dir)
File "./build-all.py", line 281, in run
raise Exception("Command `%s` returned exit code %d" % (" ".join(cmds), proc.returncode))
Exception: Command `git checkout V7_3_0p3` returned exit code 1
BTW The build works if the dependencies are already loaded locally.
Tried to build, but got only
BTW The build works if the dependencies are already loaded locally.