Skip to content

Commit

Permalink
[open3d] add OpenMP feature
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Oct 29, 2024
1 parent c205964 commit 0ea071f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ports/open3d/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
"blas" USE_BLAS
"intel-oneapi" OPEN3D_USE_ONEAPI_PACKAGES
"sycl" BUILD_SYCL_MODULE
"openmp" WITH_OPENMP
"python" BUILD_PYTHON_MODULE
)

Expand All @@ -50,7 +51,7 @@ vcpkg_cmake_configure(
-DOPEN3D_USE_ONEAPI_PACKAGES=${OPEN3D_USE_ONEAPI_PACKAGES}
-DUSE_BLAS=${USE_BLAS}
-DUSE_SYSTEM_BLAS=ON
-DWITH_OPENMP=OFF
-DWITH_OPENMP=${WITH_OPENMP}
-DUSE_SYSTEM_ASSIMP=ON
-DUSE_SYSTEM_CURL=ON
-DUSE_SYSTEM_CUTLASS=ON
Expand Down
6 changes: 5 additions & 1 deletion ports/open3d/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
],
"default-features": [
"blas",
"gui"
"gui",
"openmp"
],
"features": {
"blas": {
Expand Down Expand Up @@ -65,6 +66,9 @@
"intel-mkl"
]
},
"openmp": {
"description": "Use OpenMP multi-threading"
},
"python": {
"description": "Build the python module",
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion versions/o-/open3d.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "443b57a6ca1fd2a63b3eeac43ba2e3ed6991c5f9",
"git-tree": "fbdd86787a1d4ce0c989e954c76022acaede5f90",
"version-semver": "0.18.0",
"port-version": 0
}
Expand Down

0 comments on commit 0ea071f

Please sign in to comment.