-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CI to latest 6.0 release and development snapshot tags
- Loading branch information
1 parent
3afc104
commit a0ebe22
Showing
25 changed files
with
1,504 additions
and
979 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
diff --git a/llbuild/products/llbuildSwift/BuildSystemBindings.swift b/llbuild/products/llbuildSwift/BuildSystemBindings.swift | ||
index 6962fff5..8f1bf502 100644 | ||
--- a/llbuild/products/llbuildSwift/BuildSystemBindings.swift | ||
+++ b/llbuild/products/llbuildSwift/BuildSystemBindings.swift | ||
@@ -17,8 +17,8 @@ import WinSDK | ||
import Glibc | ||
#elseif canImport(Musl) | ||
import Musl | ||
-#elseif canImport(Bionic) | ||
-import Bionic | ||
+#elseif canImport(Android) | ||
+import Android | ||
#else | ||
#error("Missing libc or equivalent") | ||
#endif | ||
@@ -1293,7 +1293,7 @@ public final class BuildSystem { | ||
#elseif os(Windows) | ||
info.pointee.mod_time.seconds = UInt64(s.st_mtime) | ||
info.pointee.mod_time.nanoseconds = 0 | ||
- #elseif canImport(Glibc) || canImport(Musl) || canImport(Bionic) | ||
+ #elseif canImport(Glibc) || canImport(Musl) || canImport(Android) | ||
info.pointee.mod_time.seconds = UInt64(s.st_mtim.tv_sec) | ||
info.pointee.mod_time.nanoseconds = UInt64(s.st_mtim.tv_nsec) | ||
#else | ||
diff --git a/llbuild/unittests/CMakeLists.txt b/llbuild/unittests/CMakeLists.txt | ||
index 92a1ee38..52273afb 100644 | ||
--- a/llbuild/unittests/CMakeLists.txt | ||
+++ b/llbuild/unittests/CMakeLists.txt | ||
@@ -6,9 +6,9 @@ function(add_llbuild_unittest test_dirname) | ||
endfunction() | ||
|
||
add_subdirectory(Basic) | ||
-add_subdirectory(CAS) | ||
+#add_subdirectory(CAS) | ||
add_subdirectory(CAPI) | ||
add_subdirectory(Core) | ||
add_subdirectory(Evo) | ||
add_subdirectory(BuildSystem) | ||
-add_subdirectory(Ninja) | ||
+#add_subdirectory(Ninja) | ||
diff --git a/swiftpm/Sources/Basics/AsyncProcess.swift b/swiftpm/Sources/Basics/AsyncProcess.swift | ||
--- a/swiftpm/Sources/Basics/AsyncProcess.swift | ||
+++ b/swiftpm/Sources/Basics/AsyncProcess.swift | ||
@@ -14,6 +14,8 @@ | ||
|
||
#if os(Windows) | ||
import TSCLibc | ||
+#elseif canImport(Android) | ||
+import Android | ||
#endif | ||
|
||
#if os(Linux) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
diff --git a/llbuild/unittests/CMakeLists.txt b/llbuild/unittests/CMakeLists.txt | ||
index 92a1ee38..52273afb 100644 | ||
--- a/llbuild/unittests/CMakeLists.txt | ||
+++ b/llbuild/unittests/CMakeLists.txt | ||
@@ -6,4 +6,4 @@ function(add_llbuild_unittest test_dirname) | ||
add_subdirectory(CAPI) | ||
add_subdirectory(Core) | ||
add_subdirectory(BuildSystem) | ||
-add_subdirectory(Ninja) | ||
+#add_subdirectory(Ninja) | ||
diff --git a/swiftpm/Package.swift b/swiftpm/Package.swift | ||
--- a/swiftpm/Package.swift | ||
+++ b/swiftpm/Package.swift | ||
@@ -198,7 +198,7 @@ | ||
name: "Basics", | ||
dependencies: [ | ||
"_AsyncFileSystem", | ||
- .target(name: "SPMSQLite3", condition: .when(platforms: [.macOS, .iOS, .tvOS, .watchOS, .visionOS, .macCatalyst, .linux])), | ||
+ .target(name: "SPMSQLite3", condition: .when(platforms: [.macOS, .iOS, .tvOS, .watchOS, .visionOS, .macCatalyst, .linux, .android])), | ||
.product(name: "SwiftToolchainCSQLite", package: "swift-toolchain-sqlite", condition: .when(platforms: [.windows])), | ||
.product(name: "DequeModule", package: "swift-collections"), | ||
.product(name: "OrderedCollections", package: "swift-collections"), | ||
diff --git a/swiftpm/Sources/Basics/Concurrency/AsyncProcess.swift b/swiftpm/Sources/Basics/Concurrency/AsyncProcess.swift | ||
--- a/swiftpm/Sources/Basics/Concurrency/AsyncProcess.swift | ||
+++ b/swiftpm/Sources/Basics/Concurrency/AsyncProcess.swift | ||
@@ -14,6 +14,8 @@ | ||
|
||
#if os(Windows) | ||
import TSCLibc | ||
+#elseif canImport(Android) | ||
+import Android | ||
#endif | ||
|
||
#if os(Linux) |
Oops, something went wrong.