← All tasks
cppHowardHinnant/date #458Not a task: already works

[CMake Regression] USE_SYSTEM_TZ_DB prevents other use cases

envgap__HowardHinnant__date-458

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
b9cd9c3fde5a8d43c53b60108a998dd945beceba
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

HowardHinnant/date #458 · read the original issue
It's no longer possible to feed ```date``` with custom TZ database while having remote API disabled.



For version ```2.4.1``` I used ```-DCMAKE_CXX_FLAGS="-DAUTO_DOWNLOAD=0 -DHAS_REMOTE_API=0"``` build argument to disable the downloading logic, and then passed custom TZ to ```date::set_install```.



Now this is no longer supported since the following block limits ```date``` to 2 use cases:

https://github.com/HowardHinnant/date/blob/3933a0122d50c0def18f7bb96b2bf643ca7af1fe/CMakeLists.txt#L50-L64
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]