Skip to content

Commit 0ea071f

Browse files
committed
[open3d] add OpenMP feature
1 parent c205964 commit 0ea071f

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

ports/open3d/portfile.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
2525
"blas" USE_BLAS
2626
"intel-oneapi" OPEN3D_USE_ONEAPI_PACKAGES
2727
"sycl" BUILD_SYCL_MODULE
28+
"openmp" WITH_OPENMP
2829
"python" BUILD_PYTHON_MODULE
2930
)
3031

@@ -50,7 +51,7 @@ vcpkg_cmake_configure(
5051
-DOPEN3D_USE_ONEAPI_PACKAGES=${OPEN3D_USE_ONEAPI_PACKAGES}
5152
-DUSE_BLAS=${USE_BLAS}
5253
-DUSE_SYSTEM_BLAS=ON
53-
-DWITH_OPENMP=OFF
54+
-DWITH_OPENMP=${WITH_OPENMP}
5455
-DUSE_SYSTEM_ASSIMP=ON
5556
-DUSE_SYSTEM_CURL=ON
5657
-DUSE_SYSTEM_CUTLASS=ON

ports/open3d/vcpkg.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
],
3838
"default-features": [
3939
"blas",
40-
"gui"
40+
"gui",
41+
"openmp"
4142
],
4243
"features": {
4344
"blas": {
@@ -65,6 +66,9 @@
6566
"intel-mkl"
6667
]
6768
},
69+
"openmp": {
70+
"description": "Use OpenMP multi-threading"
71+
},
6872
"python": {
6973
"description": "Build the python module",
7074
"dependencies": [

versions/o-/open3d.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"versions": [
33
{
4-
"git-tree": "443b57a6ca1fd2a63b3eeac43ba2e3ed6991c5f9",
4+
"git-tree": "fbdd86787a1d4ce0c989e954c76022acaede5f90",
55
"version-semver": "0.18.0",
66
"port-version": 0
77
}

0 commit comments

Comments
 (0)