Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[anari] Update to 0.12.1 #43188

Merged
merged 9 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 19 additions & 8 deletions ports/anari/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/ANARI-SDK
REF "v${VERSION}"
SHA512 cf2c2e044b04d695e0a6c6c1abfb3495ea0996a018742ad3a6baccc6e0e3e9b83cb91b61eda8cf07e8f67f4beba24d07d927697a27606ae008a85fee9fa64fa8
HEAD_REF main
SHA512 978522469621694022be1a5425306832344a4b64ff5cc8fbb9267a683889d4624edd8a59b6488ecc6dcc8a851c74b92b6918470ad69c4d9363596f621688973d
HEAD_REF next_release
)

vcpkg_find_acquire_program(PYTHON3)
Expand All @@ -13,11 +13,16 @@ vcpkg_add_to_path("${PYTHON3_DIR}")
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_EXAMPLES=OFF
-DBUILD_VIEWER=OFF
-DBUILD_CTS=OFF
-DBUILD_EXAMPLES=OFF
-DBUILD_HDANARI=OFF
-DBUILD_HELIDE_DEVICE=OFF
-DBUILD_REMOTE_DEVICE=OFF
-DBUILD_TESTING=OFF
-DBUILD_VIEWER=OFF
-DINSTALL_CODE_GEN_SCRIPTS=ON
-DINSTALL_VIEWER_LIBRARY=ON
tarcila marked this conversation as resolved.
Show resolved Hide resolved
)

vcpkg_cmake_install()
Expand All @@ -26,16 +31,22 @@ vcpkg_cmake_config_fixup(
)
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
vcpkg_replace_string(
"${CURRENT_PACKAGES_DIR}/share/anari/anariConfig.cmake"
" \${CMAKE_CURRENT_LIST_DIR}/../../../share/anari"
" \${CMAKE_CURRENT_LIST_DIR}/../../share/anari"
)

file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
"${CURRENT_PACKAGES_DIR}/debug/share"
"${CURRENT_PACKAGES_DIR}/share/anari/code_gen/__pycache__"
)

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/bin"
"${CURRENT_PACKAGES_DIR}/debug/bin"
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/bin"
"${CURRENT_PACKAGES_DIR}/debug/bin"
)
endif()
tarcila marked this conversation as resolved.
Show resolved Hide resolved

Expand Down
2 changes: 1 addition & 1 deletion ports/anari/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anari",
"version": "0.10.0",
"version": "0.12.0",
"description": "Cross-Platform 3D Rendering Engine API.",
"homepage": "https://www.khronos.org/anari",
"license": "Apache-2.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/anari.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "53a0d3cff4289a477a5a89a7f9c5e7ca6c68cf3f",
"version": "0.12.0",
"port-version": 0
},
{
"git-tree": "b547bbf12d56d4d9f189a14153d93e75c7aa3451",
"version": "0.10.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"port-version": 0
},
"anari": {
"baseline": "0.10.0",
"baseline": "0.12.0",
"port-version": 0
},
"anax": {
Expand Down