Skip to content

Commit 6a55ec2

Browse files
committed
fix date lib on Ubuntu CI
1 parent c77f5cf commit 6a55ec2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
shell: bash
5353
run: |
5454
sudo apt-get update
55-
sudo apt-get install -y libdate-dev
55+
sudo apt-get install -y libdate-tz3 libhowardhinnant-date-dev
5656
- name: Build Iceberg
5757
shell: bash
5858
run: ci/scripts/build_iceberg.sh $(pwd)

cmake_modules/IcebergThirdpartyToolchain.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,8 @@ function(resolve_sparrow_dependency)
246246
ARCHIVE DESTINATION "${ICEBERG_INSTALL_LIBDIR}"
247247
LIBRARY DESTINATION "${ICEBERG_INSTALL_LIBDIR}")
248248

249-
# sparrow depends on date::date and date::date-tz
249+
# sparrow depends on date::date and date::date-tz. It is tricky to use FetchContent
250+
# to vendor date library since sparrow links date::date and date::date-tz directly.
250251
list(APPEND ICEBERG_SYSTEM_DEPENDENCIES date)
251252
set(ICEBERG_SYSTEM_DEPENDENCIES
252253
${ICEBERG_SYSTEM_DEPENDENCIES}

0 commit comments

Comments
 (0)