forked from apple/swift-collections
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop depending on swift-collections-benchmark (apple#86)
* Stop depending on swift-collections-benchmark Instead, move the benchmark suite into its own private nested package, under `Benchmarks/`. The recommended way to build & run benchmarks is via the `Utils/run-benchmarks.sh` script, which continues to work as before with this change. * Delete top-level Package.resolved file # Conflicts: # .swiftpm/xcode/xcshareddata/xcschemes/swift-collections-benchmark.xcscheme # Package.swift
- Loading branch information
Showing
7 changed files
with
54 additions
and
136 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -4,3 +4,5 @@ | |
/*.xcodeproj | ||
xcuserdata/ | ||
.*.sw? | ||
/Benchmarks/.swiftpm | ||
/Benchmarks/.build |
101 changes: 0 additions & 101 deletions
101
.swiftpm/xcode/xcshareddata/xcschemes/swift-collections-benchmark.xcscheme
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,47 @@ | ||
// swift-tools-version:5.3 | ||
//===----------------------------------------------------------------------===// | ||
// | ||
// This source file is part of the Swift Collections open source project | ||
// | ||
// Copyright (c) 2021 Apple Inc. and the Swift project authors | ||
// Licensed under Apache License v2.0 with Runtime Library Exception | ||
// | ||
// See https://swift.org/LICENSE.txt for license information | ||
// | ||
//===----------------------------------------------------------------------===// | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "swift-collections.Benchmarks", | ||
dependencies: [ | ||
.package(name: "swift-collections", path: ".."), | ||
.package(url: "https://github.com/apple/swift-collections-benchmark", from: "0.0.1"), | ||
], | ||
targets: [ | ||
.target( | ||
name: "Benchmarks", | ||
dependencies: [ | ||
.product(name: "Collections", package: "swift-collections"), | ||
.product(name: "CollectionsBenchmark", package: "swift-collections-benchmark"), | ||
"CppBenchmarks", | ||
], | ||
path: "Benchmarks", | ||
resources: [ | ||
.copy("Library.json"), | ||
] | ||
), | ||
.target( | ||
name: "CppBenchmarks", | ||
path: "CppBenchmarks" | ||
), | ||
.target( | ||
name: "benchmark", | ||
dependencies: [ | ||
"Benchmarks", | ||
], | ||
path: "benchmark-tool" | ||
), | ||
], | ||
cxxLanguageStandard: .cxx1z | ||
) |
File renamed without changes.
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