Skip to content

Commit

Permalink
update to latest collections
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerd committed Jul 8, 2021
1 parent 2121ec0 commit 0b55ada
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ if(FIND_PM_DEPS)
find_package(ArgumentParser CONFIG REQUIRED)
find_package(SwiftCrypto CONFIG REQUIRED)
find_package(SwiftDriver CONFIG REQUIRED)
# FIXME: need to change in SwiftCollections (swift-collections -> SwiftCollections)
find_package(swift-collections CONFIG REQUIRED)
find_package(SwiftCollections CONFIG REQUIRED)
endif()

find_package(dispatch QUIET)
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "0.4.3")),
.package(url: "https://github.com/apple/swift-driver.git", .branch(relatedDependenciesBranch)),
.package(url: "https://github.com/apple/swift-crypto.git", .upToNextMinor(from: "1.1.4")),
.package(url: "https://github.com/apple/swift-collections.git", .upToNextMinor(from: "0.0.3")),
.package(url: "https://github.com/apple/swift-collections.git", .upToNextMinor(from: "0.0.4")),
]
} else {
package.dependencies += [
Expand Down
4 changes: 1 addition & 3 deletions Utilities/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -604,9 +604,7 @@ def build_swiftpm_with_cmake(args):
"-DArgumentParser_DIR=" + os.path.join(args.swift_argument_parser_build_dir, "cmake/modules"),
"-DSwiftDriver_DIR=" + os.path.join(args.swift_driver_build_dir, "cmake/modules"),
"-DSwiftCrypto_DIR=" + os.path.join(args.swift_crypto_build_dir, "cmake/modules"),
# FIXME: need to change in SwiftCollections (swift-collections -> SwiftCollections)
#"-DSwiftCollections_DIR=" + os.path.join(args.swift_collections_build_dir, "cmake/modules"),
"-Dswift-collections_DIR=" + os.path.join(args.swift_collections_build_dir),
"-DSwiftCollections_DIR=" + os.path.join(args.swift_collections_build_dir, "cmake/modules"),
]

if platform.system() == 'Darwin':
Expand Down

0 comments on commit 0b55ada

Please sign in to comment.