[all-commits] [llvm/llvm-project] d1a461: [libc++] tests with picolibc: prevent looking for ...
Dominik Wójt via All-commits
all-commits at lists.llvm.org
Wed Feb 28 23:55:10 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d1a461dbb2293d9258d400b5426f610bb5191228
https://github.com/llvm/llvm-project/commit/d1a461dbb2293d9258d400b5426f610bb5191228
Author: Dominik Wójt <dominik.wojt at arm.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M libcxx/cmake/config-ix.cmake
M libcxx/test/std/time/time.clock/time.clock.file/to_from_sys.pass.cpp
M libcxx/test/std/time/time.clock/time.clock.hires/now.pass.cpp
M libcxx/test/std/time/time.clock/time.clock.system/from_time_t.pass.cpp
M libcxx/test/std/time/time.clock/time.clock.system/now.pass.cpp
M libcxx/test/std/time/time.clock/time.clock.system/to_time_t.pass.cpp
M libcxx/test/std/time/time.point/time.point.nonmember/op_-duration.pass.cpp
Log Message:
-----------
[libc++] tests with picolibc: prevent looking for unneeded "rt" library (#82262)
Picolibc does not provide the clock_gettime function nor the "rt" library.
check_library_exists was invalidly detecting the "rt" library due to cmake issue
present, when cross-compiling[1]. This resulted with "chrono.cpp" trying to link
to the "rt" library and following error:
unable to find library from dependent library specifier: rt
[1] https://gitlab.kitware.com/cmake/cmake/-/issues/18121
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list