19 Commits
Author SHA1 Message Date
Karoy Lorentey 040c295e86 Update copyrights 2025-06-04 11:31:02 -07:00
Karoy Lorentey 581fb9e875 Drop support for Swifts 5.7-5.9
As usual, we support just the three latest Swift releases: 5.10, 6.0 and 6.1.

Also delete obsolete C atomics. Dropping Swifts <5.9 allows us to make ATOMICS_NATIVE_BUILTINS the unconditional default behavior.
2025-06-03 19:23:53 -07:00
Karoy Lorentey a9219a8df8 Avoid accidentally enabling C shims within the test target 2023-09-22 00:46:02 -07:00
Karoy Lorentey 8dd81aef5c Update exclusion lists in package manifests 2023-09-22 00:42:25 -07:00
Karoy Lorentey ae2e46a01b In Swift 5.9 and later, unconditionally switch to using native builtins 2023-07-07 18:26:16 -07:00
Karoy Lorentey e53eff6f17 Update file headers 2023-03-30 14:58:57 -07:00
Karoy Lorentey 0f07d9dcf8 Add a weakCompareExchange variant that only takes a single ordering
Resolves https://github.com/apple/swift-atomics/issues/75
2023-03-24 16:30:49 -07:00
Karoy Lorentey 7feb1c1791 Add support for using LLVM intrinsics instead of C atomics 2023-03-24 15:33:30 -07:00
Karoy Lorentey e876381f7d Red tape for our lovely build systems 2023-03-19 20:15:06 -07:00
Karoy Lorentey 8ca2dee2bf Split Basics.swift.gyb up into 26 different files
The original autogenerated swift file is so humongous that it causes problems for some folks.

Split it up into one file per XCTestCase.
2023-03-18 01:27:16 -07:00
Karoy Lorentey b82b616254 Bump minimum required toolchain to Swift 5.6. 2023-03-17 14:13:29 -07:00
Karoy Lorentey a2271697ad [manifest] Add 5.5 manifest for the new docc bundle; exclude it from 5.3 manifest 2022-12-08 16:06:59 -08:00
Karoy Lorentey b58a624375 [manifest] Fix warnings in 5.3 toolchains 2021-08-30 12:32:25 -07:00
Karoy Lorentey f659ecc1bb Bump required toolchain version to 5.3
Resolves issue #22.
2021-08-27 11:34:41 -07:00
Saleem Abdulrasool c711547ac1 Tests: add XCTest manifest for non-SPM based builds
This allows for testing without SPM on non-Darwin targets.  We
explicitly exclude the manifest in SPM based builds because we would
like to use the automatic test discovery functionality from SPM.
2021-04-29 14:43:21 -07:00
Karoy Lorentey 9ad914d118 Make double-wide atomics conditional on platform support
Linux on x86_64 unfortunately disables support for cmpxchg16 by default, making double-wide atomic operations fall back to using locks. We cannot currently override this on the package level, so stop providing double-wide atomics in this configuration by default.

To enable codegen support for double-wide atomics on Linux/x86_64, compile the package with `-Xcc -mcx16 -Xswiftc -DENABLE_DOUBLEWIDE_ATOMICS`.
2020-10-09 14:52:33 -07:00
Karoy Lorentey 6e09389a3d Revert "[shims] Make retain_n/release_n shims header-only" 2020-10-07 23:57:38 -07:00
Karoy Lorentey 45fa32a922 [shims] Make retain_n/release_n shims header-only.
Resolves issue #8.
2020-10-06 18:00:10 -07:00
Karoy Lorentey b97750eb18 Initial commit. 2020-10-01 16:57:36 -07:00