Skip to content

Commit 6aa2602

Browse files
committed
Download tarballs instead of Git repos for "3rdparty/uvatlas".
This style adjustment makes uvatlas more consistent with the specification style of all the other third-party dependencies. Most importantly, it makes it possible to compile Open3D inside of a chroot jail by simply unpacking the tarballs of all third-party dependencies into the same workspace.
1 parent 82c5ba4 commit 6aa2602

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

3rdparty/uvatlas/uvatlas.cmake

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ include(ExternalProject)
44
ExternalProject_Add(
55
ext_directxheaders
66
PREFIX uvatlas
7-
GIT_REPOSITORY https://github.com/microsoft/DirectX-Headers.git
8-
GIT_TAG v1.606.3
9-
GIT_SHALLOW TRUE
7+
URL https://github.com/microsoft/DirectX-Headers/archive/v1.606.3/DirectX-Headers-v1.606.3.tar.gz
8+
URL_HASH
9+
SHA256=bf0183981e505336e918609374907c934b99eb61c0826d75a5649f41568abc4b
1010
DOWNLOAD_DIR "${OPEN3D_THIRD_PARTY_DOWNLOAD_DIR}/uvatlas"
1111
UPDATE_COMMAND ""
1212
CMAKE_ARGS
@@ -22,9 +22,9 @@ ExternalProject_Add(
2222
ExternalProject_Add(
2323
ext_directxmath
2424
PREFIX uvatlas
25-
GIT_REPOSITORY https://github.com/microsoft/DirectXMath.git
26-
GIT_TAG may2022
27-
GIT_SHALLOW TRUE
25+
URL https://github.com/microsoft/DirectXMath/archive/may2022/DirectXMath-may2022.tar.gz
26+
URL_HASH
27+
SHA256=b2c5b419ca2c567860f7c204c9c0890573e8a58c8d877473e4f3ba6b851ca4ce
2828
DOWNLOAD_DIR "${OPEN3D_THIRD_PARTY_DOWNLOAD_DIR}/uvatlas"
2929
UPDATE_COMMAND ""
3030
CMAKE_ARGS
@@ -63,4 +63,4 @@ if(NOT WIN32)
6363
list(APPEND UVATLAS_INCLUDE_DIRS "${INSTALL_DIR}/include/wsl/stubs/")
6464
endif()
6565
set(UVATLAS_LIB_DIR ${INSTALL_DIR}/${Open3D_INSTALL_LIB_DIR})
66-
set(UVATLAS_LIBRARIES UVAtlas)
66+
set(UVATLAS_LIBRARIES UVAtlas)

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
- Fix advanced indexing bug with sliced boolean masks on CUDA devices (PR #7340)
6767
- Fix logic for adding -allow-unsupported-compiler to nvcc (PR #7337)
6868
- Fix linker error "library limit of 65535 objects exceeded" with Ninja generator on MSVC (PR #7335)
69+
- Download tarballs instead of Git repos for "3rdparty/uvatlas".
6970

7071
## 0.13
7172

0 commit comments

Comments
 (0)