Skip to content

Commit

Permalink
build: update libuv version (#180)
Browse files Browse the repository at this point in the history
v1.40.0 came out July 19, 2021. It's now Dec. 2022.

The windows ASAN job in CI is also disabled, but
should be OK to bring back in the next libuv bump.
  • Loading branch information
cjihrig committed Dec 16, 2022
1 parent c5b979d commit a186035
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/CI.yml
Expand Up @@ -14,8 +14,10 @@ jobs:
include:
- os: ubuntu-latest
config: {variation: 'ASAN', generate_options: '-DASAN=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS="-Wall -Werror"'}
- os: windows-latest
config: {variation: 'ASAN', generate_options: '-DASAN=ON -DCMAKE_BUILD_TYPE=Debug'}
# This is currently broken in the latest libuv release, but fixed on
# the main branch. Just disable this until libuv v1.45.0 is released.
# - os: windows-latest
# config: {variation: 'ASAN', generate_options: '-DASAN=ON -DCMAKE_BUILD_TYPE=Debug'}
- os: ubuntu-latest
config: {variation: 'debug-log', generate_options: '-DUVWASI_DEBUG_LOG=ON -DCMAKE_C_FLAGS="-Wall -Werror"'}
steps:
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -5,7 +5,7 @@ project (uvwasi LANGUAGES C)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")

# This can be a commit hash or tag
set(LIBUV_VERSION v1.42.0)
set(LIBUV_VERSION v1.44.2)

include(CMakeDependentOption)
cmake_dependent_option(UVWASI_BUILD_TESTS
Expand Down Expand Up @@ -40,7 +40,7 @@ else (WITH_SYSTEM_LIBUV)
libuv
GIT_REPOSITORY https://github.com/libuv/libuv.git
GIT_TAG ${LIBUV_VERSION})

FetchContent_GetProperties(libuv)
if(NOT libuv_POPULATED)
FetchContent_Populate(libuv)
Expand Down

0 comments on commit a186035

Please sign in to comment.