74d91756c1
-- a874475e842d2adeb31bb7bd37bdd6eb15a2aeb9 by Mark Barolak <mbar@google.com>: Import of CCTZ from GitHub. PiperOrigin-RevId: 256414250 -- c95e6c21944c59c9b9b9e7eb9dc79cfb9ae5ef8d by CJ Johnson <johnsoncj@google.com>: Update the license year + run clang-format for the FixedArray and InlinedVector test files PiperOrigin-RevId: 256376285 -- f430b04f332d6b89cb8447b07217e391e1c38000 by Derek Mauro <dmauro@google.com>: Migrate the Linux CMake tests from GCC 4.8 to the GCC latest version. This will allow us to delete the GCC 4.8 test since that is currently our only CMake coverage. This also means that we don't have to update the script every time we move to a new minumum GCC version. This change includes a fix for a -Wstringops-truncation warning in symbolize_test.cc that triggers when it is built in release mode with the latest GCC. PiperOrigin-RevId: 256370092 GitOrigin-RevId: a874475e842d2adeb31bb7bd37bdd6eb15a2aeb9 Change-Id: Ia2ec58f9b9dfc382d043344e346cb397b802270a |
||
---|---|---|
.. | ||
zoneinfo | ||
README.zoneinfo | ||
version |
testdata/zoneinfo contains time-zone data files that may be used with CCTZ. Install them in a location referenced by the ${TZDIR} environment variable. Symbolic and hard links have been eliminated for portability. On Linux systems the distribution's versions of these files can probably already be found in the default ${TZDIR} location, /usr/share/zoneinfo. New versions can be generated using the following shell script. #!/bin/sh - set -e DESTDIR=$(mktemp -d) trap "rm -fr ${DESTDIR}" 0 2 15 ( cd ${DESTDIR} git clone https://github.com/eggert/tz.git make --directory=tz \ install DESTDIR=${DESTDIR} \ DATAFORM=vanguard \ TZDIR=/zoneinfo \ REDO=posix_only \ LOCALTIME=Factory \ TZDATA_TEXT= \ ZONETABLES=zone1970.tab tar --create --dereference --hard-dereference --file tzfile.tar \ --directory=tz tzfile.h tar --create --dereference --hard-dereference --file zoneinfo.tar \ --exclude=zoneinfo/posixrules zoneinfo \ --directory=tz version ) tar --extract --directory src --file ${DESTDIR}/tzfile.tar tar --extract --directory testdata --file ${DESTDIR}/zoneinfo.tar exit 0 To run the CCTZ tests using the testdata/zoneinfo files, execute: bazel test --test_env=TZDIR=${PWD}/testdata/zoneinfo ...