File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4640,6 +4640,9 @@ function(build_orc)
4640
4640
set (ZLIB_HOME
4641
4641
${ZLIB_ROOT}
4642
4642
CACHE STRING "" FORCE)
4643
+ # From CMake 3.21 onwards the set(CACHE) command does not remove any normal
4644
+ # variable of the same name from the current scope. We have to manually remove
4645
+ # the variable via unset to avoid ORC not finding the ZLIB_LIBRARY.
4643
4646
unset (ZLIB_LIBRARY)
4644
4647
set (ZLIB_LIBRARY
4645
4648
ZLIB::ZLIB
@@ -4674,6 +4677,7 @@ function(build_orc)
4674
4677
set (STOP_BUILD_ON_WARNING
4675
4678
OFF
4676
4679
CACHE BOOL "" FORCE)
4680
+
4677
4681
fetchcontent_makeavailable(orc)
4678
4682
4679
4683
add_library (orc::orc INTERFACE IMPORTED )
Original file line number Diff line number Diff line change @@ -1591,11 +1591,11 @@ services:
1591
1591
- ${REPO}:r-${R_ORG}-${R_IMAGE}-${R_TAG}
1592
1592
args :
1593
1593
base : ${R_ORG}/${R_IMAGE}:${R_TAG}
1594
+ cmake : ${CMAKE}
1594
1595
r_dev : ${ARROW_R_DEV}
1595
1596
tz : ${TZ}
1596
1597
r_prune_deps : ${R_PRUNE_DEPS}
1597
1598
r_custom_ccache : ${R_CUSTOM_CCACHE}
1598
- cmake : ${CMAKE}
1599
1599
shm_size : *shm-size
1600
1600
environment :
1601
1601
<< : [*common, *sccache]
@@ -2045,9 +2045,9 @@ services:
2045
2045
cache_from :
2046
2046
- ${REPO}:${ARCH}-ubuntu-${UBUNTU}-verify-rc
2047
2047
args :
2048
- repo : ${REPO}
2049
2048
arch : ${ARCH}
2050
2049
cmake : ${CMAKE}
2050
+ repo : ${REPO}
2051
2051
volumes :
2052
2052
- .:/arrow:delegated
2053
2053
- ${DOCKER_VOLUME_PREFIX}ubuntu-ccache:/ccache:delegated
You can’t perform that action at this time.
0 commit comments