summaryrefslogtreecommitdiffstats
path: root/swift-lang.spec
diff options
context:
space:
mode:
Diffstat (limited to 'swift-lang.spec')
-rw-r--r--swift-lang.spec9
1 files changed, 5 insertions, 4 deletions
diff --git a/swift-lang.spec b/swift-lang.spec
index f243712..364aa4d 100644
--- a/swift-lang.spec
+++ b/swift-lang.spec
@@ -25,8 +25,9 @@ Source9: https://github.com/apple/swift-llvm/archive/swift-%{swifttag}.ta
Source10: https://github.com/apple/swift-llbuild/archive/swift-%{swifttag}.tar.gz#/llbuild.tar.gz
Source11: https://github.com/apple/swift-cmark/archive/swift-%{swifttag}.tar.gz#/cmark.tar.gz
Source12: https://github.com/apple/swift-xcode-playground-support/archive/swift-%{swifttag}.tar.gz#/swift-xcode-playground-support.tar.gz
-Source13: swift-lang.conf
-Source14: swift-lang-runtime.conf
+Source13: https://github.com/apple/sourcekit-lsp/archive/swift-%{swifttag}.tar.gz#/sourcekit-lsp.tar.gz
+Source14: swift-lang.conf
+Source15: swift-lang-runtime.conf
Patch0: change-lldb-location.patch
Patch1: build-setup.patch
@@ -97,7 +98,7 @@ Runtime libraries for Swift programs
%prep
-%setup -q -c -n %{swiftbuild} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12
+%setup -q -c -n %{swiftbuild} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13
# The Swift build script requires directories to be named
# in a specific way so renaming the source directories is
@@ -115,6 +116,7 @@ mv swift-llvm-swift-%{swifttag} llvm
mv swift-package-manager-swift-%{swifttag} swiftpm
mv swift-swift-%{swifttag} swift
mv swift-xcode-playground-support-swift-%{swifttag} swift-xcode-playground-support
+mv sourcekit-lsp-swift-%{swifttag} sourcekit-lsp
# This patch tells the Swift executable to look for its Swift-specific
# lldb executable in /usr/libexec/swift-lldb, not in the same directory
@@ -142,7 +144,6 @@ mv swift-xcode-playground-support-swift-%{swifttag} swift-xcode-playground-suppo
%build
export VERBOSE=1
-export PYTHON_DISALLOW_AMBIGUOUS_VERSION=0
# We may not have /usr/bin/python, so we roll our own
# because the build script expects there to be one.
mkdir $PWD/binforpython