Commit Graph

5 Commits

Author SHA1 Message Date
ecd8231dee ci: Test on macos-15-intel 2025-11-11 23:38:08 -07:00
09a7452c77 Implement WaitOnAddress, WakeByAddress*; macOS impl for atomic waits 2025-11-11 10:44:14 -07:00
4a7a6b9d72 Add CMake toolchains and update CI 2025-11-10 00:24:58 -07:00
061228c971 Make liburing optional; rewrite CMakeLists.txt and enable LTO 2025-10-07 14:12:37 -06:00
Ryan Burns
b86a542fe2 Explicitly link std::filesystem as needed (#14)
* Fix cmake install command

PROGRAMS specifies executable files, while TARGETS specifies cmake
targets. This install command happened to work when doing an in-tree
build (build dir == source dir) but will otherwise fail.

* Explicitly link std::filesystem as needed

On some older compilers, std::filesystem is provided as a separate
library from the C++ standard library. For example, on GCC 8, one must
explicitly link with -lstdc++fs.

We can use a drop-in https://github.com/vector-of-bool/CMakeCM module to
automate detection of and linking against this auxiliary library when needed.

* Add missing include

std::min is in <algorithm> header
This is transitively included in libstdc++ (GCC)
but not in libc++ (Clang)

(Encountered when testing -lc++fs auxiliary library linking in Clang 7)
2022-07-08 02:02:27 +09:00