[all-commits] [llvm/llvm-project] 367adb: [libcxx] Update libatomic check (#224162)

Michael Jones via All-commits all-commits at lists.llvm.org
Thu Sep 17 13:35:04 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 367adb1b93018af34e3053a7cfd790152bfb27b3
      https://github.com/llvm/llvm-project/commit/367adb1b93018af34e3053a7cfd790152bfb27b3
  Author: Michael Jones <michaelrj at google.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M libcxx/utils/libcxx/test/features/misc.py

  Log Message:
  -----------
  [libcxx] Update libatomic check (#224162)

This PR is a proper fix for the libatomic workaround. The old system
just checked if adding `-latomic` succeeded, and added it if it worked.
After this change it checks if an example program works without
`-latomic` as well as with `-latomic`. It adds the flag only if the test
passes with `-latomic` and not without.

In short: the new version only adds `-latomic` if it's necessary.

Assisted-by: Automated tooling, human reviews.



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