mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 22:33:33 +00:00
See #7131. Rollback to prevent instant segfaults on Linux.
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ BLENDER_PLATFORM:=windows-x64
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Current build commit hash.
|
# Current build commit hash.
|
||||||
OLD:=e795cec
|
OLD:=6924012
|
||||||
.PHONY: bump
|
.PHONY: bump
|
||||||
bump:
|
bump:
|
||||||
ifndef NEW
|
ifndef NEW
|
||||||
|
|||||||
@@ -63,8 +63,8 @@ PLATFORMTAG:=win_amd64
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
BINARY_VERSION:=0.8.4
|
BINARY_VERSION:=0.8.4
|
||||||
IOS_URL:=https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-$(PYNUMBER)-v$(BINARY_VERSION)-e795cec-$(PLATFORM).zip
|
IOS_URL:=https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-$(PYNUMBER)-v$(BINARY_VERSION)-6924012-$(PLATFORM).zip
|
||||||
IFCCONVERT_URL:=https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v$(BINARY_VERSION)-e795cec-$(PLATFORM).zip
|
IFCCONVERT_URL:=https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v$(BINARY_VERSION)-6924012-$(PLATFORM).zip
|
||||||
|
|
||||||
.PHONY: build-urls
|
.PHONY: build-urls
|
||||||
build-urls:
|
build-urls:
|
||||||
|
|||||||
@@ -185,7 +185,10 @@ def open(
|
|||||||
return sqlite(path)
|
return sqlite(path)
|
||||||
if should_stream:
|
if should_stream:
|
||||||
return stream(path)
|
return stream(path)
|
||||||
f = ifcopenshell_wrapper.open(str(path.absolute()), readonly)
|
if readonly: # Temporary conditional see #7131. Remove once newer builds don't segfault on Linux.
|
||||||
|
f = ifcopenshell_wrapper.open(str(path.absolute()), readonly)
|
||||||
|
else:
|
||||||
|
f = ifcopenshell_wrapper.open(str(path.absolute()))
|
||||||
return file(f)
|
return file(f)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user