You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2022/01/16 00:27:50 UTC
[orc] branch branch-1.7 updated: ORC-1092: Upgrade LZ4 to version 1.9.3 (#1012)
This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-1.7
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-1.7 by this push:
new 011f39a ORC-1092: Upgrade LZ4 to version 1.9.3 (#1012)
011f39a is described below
commit 011f39af79c62a4981179cfe06976dfa8b5eebe8
Author: William Hyun <wi...@apache.org>
AuthorDate: Fri Jan 14 18:34:44 2022 -0800
ORC-1092: Upgrade LZ4 to version 1.9.3 (#1012)
### What changes were proposed in this pull request?
This PR aims to upgrade LZ4 to version 1.9.3.
### Why are the changes needed?
This will bring the latest improvements and bug fixes.
- https://github.com/lz4/lz4/releases/tag/v1.9.3
### How was this patch tested?
Pass the CIs.
(cherry picked from commit e686a2bad9d4e802743a78f1bd5f4b09caa28b95)
Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
cmake_modules/ThirdpartyToolchain.cmake | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/cmake_modules/ThirdpartyToolchain.cmake b/cmake_modules/ThirdpartyToolchain.cmake
index d04defa..d689bbe 100644
--- a/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cmake_modules/ThirdpartyToolchain.cmake
@@ -10,7 +10,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-set(LZ4_VERSION "1.7.5")
+set(LZ4_VERSION "1.9.3")
set(SNAPPY_VERSION "1.1.7")
set(ZLIB_VERSION "1.2.11")
set(GTEST_VERSION "1.8.0")
@@ -237,10 +237,10 @@ else ()
endif ()
if (CMAKE_VERSION VERSION_GREATER "3.7")
- set(LZ4_CONFIGURE SOURCE_SUBDIR "contrib/cmake_unofficial" CMAKE_ARGS ${LZ4_CMAKE_ARGS})
+ set(LZ4_CONFIGURE SOURCE_SUBDIR "build/cmake" CMAKE_ARGS ${LZ4_CMAKE_ARGS})
else()
set(LZ4_CONFIGURE CONFIGURE_COMMAND "${THIRDPARTY_CONFIGURE_COMMAND}" ${LZ4_CMAKE_ARGS}
- "${CMAKE_CURRENT_BINARY_DIR}/lz4_ep-prefix/src/lz4_ep/contrib/cmake_unofficial")
+ "${CMAKE_CURRENT_BINARY_DIR}/lz4_ep-prefix/src/lz4_ep/build/cmake")
endif()
ExternalProject_Add(lz4_ep