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 @@ -4646,6 +4646,9 @@ function(build_orc)
4646
4646
set (ZLIB_HOME
4647
4647
${ZLIB_ROOT}
4648
4648
CACHE STRING "" FORCE)
4649
+ # From CMake 3.21 onwards the set(CACHE) command does not remove any normal
4650
+ # variable of the same name from the current scope. We have to manually remove
4651
+ # the variable via unset to avoid ORC not finding the ZLIB_LIBRARY.
4649
4652
unset (ZLIB_LIBRARY)
4650
4653
set (ZLIB_LIBRARY
4651
4654
ZLIB::ZLIB
@@ -4680,6 +4683,7 @@ function(build_orc)
4680
4683
set (STOP_BUILD_ON_WARNING
4681
4684
OFF
4682
4685
CACHE BOOL "" FORCE)
4686
+
4683
4687
fetchcontent_makeavailable(orc)
4684
4688
4685
4689
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