Skip to content

Commit efacbc9

Browse files
author
AlexDenisov
authored
Merge pull request #23 from dsp-testing/alexdenisov/swift-5.10
Swift 5.10
2 parents 099b557 + b3495a5 commit efacbc9

File tree

4 files changed

+5
-18
lines changed

4 files changed

+5
-18
lines changed

CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ find_package(Clang REQUIRED CONFIG)
66
find_package(Swift REQUIRED CONFIG)
77
find_package(SwiftSyntax REQUIRED CONFIG)
88

9+
set(THREADS_PREFER_PTHREAD_FLAG YES)
10+
include(FindThreads)
11+
912
message("Using LLVM_CONFIG: ${Swift_CONFIG}")
1013
message("Using Clang_CONFIG: ${LLVM_CONFIG}")
1114
message("Using Swift_CONFIG: ${Clang_CONFIG}")
@@ -17,6 +20,7 @@ set (CODEQL_SWIFT_VERSION_MAJOR ${SWIFT_VERSION_MAJOR})
1720
set (CODEQL_SWIFT_VERSION_MINOR ${SWIFT_VERSION_MINOR})
1821
set (CODEQL_SWIFT_VERSION_PATCH ${SWIFT_VERSION_PATCH})
1922

23+
# TODO: these are now upstreamed
2024
configure_file(${CMAKE_SOURCE_DIR}/CodeQLSwiftVersion.h.in
2125
${SWIFT_BINARY_DIR}/include/swift/CodeQLSwiftVersion.h)
2226

patches/swift/expose-swift-version.patch

-15
This file was deleted.

pkg_swift_llvm.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,8 @@ def main(opts):
173173
os.mkdir(tmp)
174174
llvm_build_tree = next(opts.build_tree.glob("llvm-*"))
175175
swift_build_tree = next(opts.build_tree.glob("swift-*"))
176-
earlyswiftsyntax_build_tree = next(opts.build_tree.glob("earlyswiftsyntax-*"))
177176
configured = configure_dummy_project(tmp, prefixes=[llvm_build_tree, swift_build_tree,
178-
earlyswiftsyntax_build_tree / "cmake" / "modules"])
177+
swift_build_tree / 'cmake' / 'modules'])
179178
libs = get_libs(configured)
180179

181180
exported = tmp / "exported"

swift-build-presets

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ skip-test-sourcekit-lsp
1111
skip-test-playgroundsupport
1212
skip-test-skstresstester
1313
skip-test-swiftformat
14-
skip-test-swiftevolve
1514
skip-test-toolchain-benchmarks
1615
skip-test-swift-inspect
1716
skip-test-swift

0 commit comments

Comments
 (0)