update openvdb (#1357)

* update openvdb

* update openexr

* update imath

* improve blosc
pull/1359/head
Hoildkv 2 years ago committed by GitHub
parent 5a1f1d7130
commit 1e96ec7a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      packages/b/blosc/xmake.lua
  2. 1
      packages/i/imath/xmake.lua
  3. 2
      packages/o/openexr/xmake.lua
  4. 3
      packages/o/openvdb/xmake.lua

@ -2,9 +2,10 @@ package("blosc")
set_homepage("https://www.blosc.org/")
set_description("A blocking, shuffling and loss-less compression library")
set_license("BSD-3-Clause")
add_urls("https://github.com/Blosc/c-blosc/archive/v$(version).tar.gz",
"https://github.com/Blosc/c-blosc")
"https://github.com/Blosc/c-blosc.git")
add_versions("1.21.1", "f387149eab24efa01c308e4cba0f59f64ccae57292ec9c794002232f7903b55b")
add_versions("1.20.1", "42c4d3fcce52af9f8e2078f8f57681bfc711706a3330cb72b9b39e05ae18a413")
add_versions("1.5.0", "208ba4db0e5116421ed2fbbdf2adfa3e1d133d29a6324a0f47cf2d71f3810c92")

@ -11,6 +11,7 @@ package("imath")
add_versions("v3.1.2", "f21350efdcc763e23bffd4ded9bbf822e630c15ece6b0697e2fcb42737c08c2d")
add_versions("v3.1.3", "0bf7ec51162c4d17a4c5b850fb3f6f7a195cff9fa71f4da7735f74d7b5124320")
add_versions("v3.1.4", "fcca5fbb37d375a252bacd8a29935569bdc28b888f01ef1d9299ca0c9e87c17a")
add_versions("v3.1.5", "1e9c7c94797cf7b7e61908aed1f80a331088cc7d8873318f70376e4aed5f25fb")
on_load(function (package)
if not package.is_built or package:is_built() then

@ -12,6 +12,7 @@ package("openexr")
add_versions("3.1.1", "045254e201c0f87d1d1a4b2b5815c4ae54845af2e6ec0ab88e979b5fdb30a86e")
add_versions("3.1.3", "6f70a624d1321319d8269a911c4032f24950cde52e76f46e9ecbebfcb762f28c")
add_versions("3.1.4", "cb019c3c69ada47fe340f7fa6c8b863ca0515804dc60bdb25c942c1da886930b")
add_versions("3.1.5", "93925805c1fc4f8162b35f0ae109c4a75344e6decae5a240afdfce25f8a433ec")
add_deps("cmake")
add_deps("zlib")
@ -61,7 +62,6 @@ package("openexr")
end
table.insert(configs, "-DPYILMBASE_ENABLE=OFF")
end
table.insert(configs, "-DCMAKE_INSTALL_LIBDIR=lib")
import("package.tools.cmake").install(package, configs)
end)

@ -10,6 +10,7 @@ package("openvdb")
add_versions("8.1.0", "3e09d47331429be7409a3a3c27fdd3c297f96d31d2153febe194e664a99d6183")
add_versions("8.2.0", "d2e77a0720db79e9c44830423bdb013c24a1cf50994dd61d570b6e0c3e0be699")
add_versions("9.0.0", "ad3816e8f1931d1d6fdbddcec5a1acd30695d049dd10aa965096b2fb9972b468")
add_versions("9.1.0", "914ee417b4607c75c95b53bc73a0599de4157c7d6a32e849e80f24e40fb64181")
add_deps("cmake")
add_deps("boost", {system = false, configs = {regex = true, system = true, iostreams = true}})
@ -21,6 +22,7 @@ package("openvdb")
add_configs("lod", {description = "Command line binary for generating volume mipmaps from an OpenVDB grid.", default = false, type = "boolean"})
add_configs("render", {description = "Command line binary for ray-tracing OpenVDB grids.", default = false, type = "boolean"})
add_configs("view", {description = "Command line binary for displaying OpenVDB grids in a GL viewport.", default = false, type = "boolean"})
add_configs("ax", {description = "Command line binary for OpenVDB AX.", default = false, type = "boolean"})
add_configs("nanovdb", {description = "Enable building of NanoVDB Module.", default = false, type = "boolean"})
on_load("macosx", "linux", "windows", function (package)
@ -78,6 +80,7 @@ package("openvdb")
table.insert(configs, "-DOPENVDB_BUILD_VDB_PRINT=" .. (package:config("print") and "ON" or "OFF"))
table.insert(configs, "-DOPENVDB_BUILD_VDB_RENDER=" .. (package:config("render") and "ON" or "OFF"))
table.insert(configs, "-DOPENVDB_BUILD_VDB_VIEW=" .. (package:config("view") and "ON" or "OFF"))
table.insert(configs, "-DOPENVDB_BUILD_AX_BINARIES=" .. (package:config("ax") and "ON" or "OFF"))
if package:config("simd") then
table.insert(configs, "-DOPENVDB_SIMD=" .. package:config("simd"))
end

Loading…
Cancel
Save