diff --git a/recipes/openvdb/build.sh b/recipes/openvdb/build.sh index 361eda80f8b03..000c2e2122eee 100644 --- a/recipes/openvdb/build.sh +++ b/recipes/openvdb/build.sh @@ -1,11 +1,8 @@ mkdir -p build cd build cmake ${CMAKE_ARGS} \ - -DCMAKE_INSTALL_PREFIX=${PREFIX} \ - -DCMAKE_PREFIX_PATH=${PREFIX} \ -DOPENVDB_CORE_SHARED=ON \ -DOPENVDB_CORE_STATIC=OFF \ -DUSE_EXPLICIT_INSTANTIATION=OFF \ .. -make -j${CPU_COUNT} -make install \ No newline at end of file +cmake --build . --target install --parallel diff --git a/recipes/openvdb/meta.yaml b/recipes/openvdb/meta.yaml index ca10c966deadd..11a3b345a3f6d 100644 --- a/recipes/openvdb/meta.yaml +++ b/recipes/openvdb/meta.yaml @@ -9,7 +9,6 @@ source: url: https://github.com/AcademySoftwareFoundation/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz sha256: 887a3391fbd96b20c77914f4fb3ab4b33d26e5fc479aa036d395def5523c622f - build: number: 0 skip: true # [win or osx] @@ -29,14 +28,20 @@ requirements: run: - boost-cpp - - blosc - - zlib - - tbb-devel - - jemalloc test: commands: - - test -f ${PREFIX}/include/openvdb/openvdb.h # [unix] + - test -f ${PREFIX}/lib/libopenvdb.so.{{ version }} # [unix] + - test -f ${PREFIX}/lib/libopenvdb.so # [unix] + - test -f ${PREFIX}/bin/vdb_print # [unix] + - test -f ${PREFIX}/include/openvdb/openvdb.h # [unix] + - test -f ${PREFIX}/lib/cmake/OpenVDB/FindOpenVDB.cmake # [unix] + - if not exist %PREFIX%\lib\libopenvdb.dll.{{ version }} exit 1 # [win] + - if not exist %PREFIX%\lib\libopenvdb.dll exit 1 # [win] + - if not exist %PREFIX%\bin\vdb_print exit 1 # [win] + - if not exist %PREFIX%\include\opendb\opendvdb.h exit 1 # [win] + - if not exist %PREFIX%\lib\cmake\FindOpenVDB.cmake exit 1 # [win] + - vdb_print --help about: home: https://github.com/AcademySoftwareFoundation/openvdb @@ -51,3 +56,4 @@ about: extra: recipe-maintainers: - versatran01 + - tetov