OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#39143, #39118] Update IfcConvert to allow multithreading
Wieland Lindenthal3a4ec382c73d
diff --git a/docker/prod/setup/preinstall-common.sh b/docker/prod/setup/preinstall-common.shindex 5d9366b8a57..4ac2a778dfe 100755--- a/docker/prod/setup/preinstall-common.sh+++ b/docker/prod/setup/preinstall-common.sh@@ -45,8 +45,8 @@ unzip -q COLLADA2GLTF-v2.1.5-linux.zipmv COLLADA2GLTF-bin "/usr/local/bin/COLLADA2GLTF"# IFCconvert-wget --quiet https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.6.0-9bcd932-linux64.zip-unzip -q IfcConvert-v0.6.0-9bcd932-linux64.zip+wget --quiet https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.6.0-517b819-linux64.zip+unzip -q IfcConvert-v0.6.0-517b819-linux64.zipmv IfcConvert "/usr/local/bin/IfcConvert"wget --quiet https://github.com/bimspot/xeokit-metadata/releases/download/1.0.0/xeokit-metadata-linux-x64.tar.gzdiff --git a/modules/bim/app/services/bim/ifc_models/view_converter_service.rb b/modules/bim/app/services/bim/ifc_models/view_converter_service.rbindex d5f5e95caab..5a85584ab2b 100644--- a/modules/bim/app/services/bim/ifc_models/view_converter_service.rb+++ b/modules/bim/app/services/bim/ifc_models/view_converter_service.rb@@ -125,6 +125,8 @@ module Bim'--use-element-guids','--no-progress','--verbose',+ '--threads',+ '4',ifc_filepath,target_file,'--exclude',diff --git a/modules/bim/bin/setup_dev.sh b/modules/bim/bin/setup_dev.shindex 94dfc456542..039a5b713b6 100755--- a/modules/bim/bin/setup_dev.sh+++ b/modules/bim/bin/setup_dev.sh@@ -27,8 +27,8 @@ unzip -q COLLADA2GLTF-v2.1.5-linux.zipmv COLLADA2GLTF-bin "/usr/local/bin/COLLADA2GLTF"# IFCconvert-wget --quiet https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.6.0-9bcd932-linux64.zip-unzip -q IfcConvert-v0.6.0-9bcd932-linux64.zip+wget --quiet https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.6.0-517b819-linux64.zip+unzip -q IfcConvert-v0.6.0-517b819-linux64.zipmv IfcConvert "/usr/local/bin/IfcConvert"wget --quiet https://github.com/bimspot/xeokit-metadata/releases/download/1.0.0/xeokit-metadata-linux-x64.tar.gzdiff --git a/packaging/addons/openproject-edition/bin/preinstall b/packaging/addons/openproject-edition/bin/preinstallindex 294377bc7c9..cba215b74f4 100755--- a/packaging/addons/openproject-edition/bin/preinstall+++ b/packaging/addons/openproject-edition/bin/preinstall@@ -61,10 +61,11 @@ if [ "$edition" = "bim" ]; thenmv COLLADA2GLTF-bin "$APP_HOME/bin/COLLADA2GLTF"fi- if ! ${CLI} run which IfcConvert &>/dev/null ; then+ if ! ${CLI} run which IfcConvert &>/dev/null ||+ ! echo "83eed7f2f12079df5f6a55a07f812d27b28620bd $(${CLI} run which IfcConvert)" | sha1sum -c - ; thenecho "Fetching and installing IfcConvert..."- wget --quiet https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.6.0-9bcd932-linux64.zip- unzip -qq IfcConvert-v0.6.0-9bcd932-linux64.zip+ wget --quiet https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.6.0-517b819-linux64.zip+ unzip -qq IfcConvert-v0.6.0-517b819-linux64.zipmv IfcConvert "$APP_HOME/bin/IfcConvert"fi