Skip to content

Commit

Permalink
ORC-1092: Upgrade LZ4 to version 1.9.3 (#1012)
Browse files Browse the repository at this point in the history
### 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 e686a2b)
Signed-off-by: Dongjoon Hyun <[email protected]>
  • Loading branch information
williamhyun authored and dongjoon-hyun committed Jan 16, 2022
1 parent 95d7f08 commit 011f39a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 011f39a

Please sign in to comment.