Commit Graph

73 Commits

Author SHA1 Message Date
JP Simard
d3d211b154 link libswiftCore when building SourceKit on Linux
since libdispatch now includes a Swift overlay
2016-07-19 10:11:11 -07:00
Brian Croom
e109cb8285 [SourceKit] Add libdispatch as a dependency for some SourceKit products
sourcekitdInProc, sourcekitd-test, and complete-test need to be explicitly
linked with libdispatch on Linux to build properly.
2016-07-18 16:17:49 -07:00
Harlan
1625d97976 Switch to llvm-profdata's pooled profdata merge (#3281) 2016-07-01 16:45:21 -07:00
Michael Gottesman
61df461e88 [lto][cmake] Add LTO support to SourceKit.
rdar://24717107
2016-06-10 13:33:49 -07:00
therealbnut
2f4aed7bb2 Fix some CMakeLists syntax 2016-06-04 06:44:10 +10:00
Brian Gesiak
d7e2e1f93e [SR-1613][SourceKit] Require blocks runtime
SourceKit makes heavy use of blocks. In order to port SourceKit to Linux,
we either need to rewrite much of it to use function pointers, or we must
require a blocks runtime. This commit requires a blocks runtime, but only
when SourceKit is being built. Currently, SourceKit is not built on Linux,
so this should not affect anyone.
2016-05-25 17:17:32 -04:00
Argyrios Kyrtzidis
f242326627 [SourceKit] Use DARWIN_TOOLCHAIN_VERSION if provided, as the version to use for the XPC service name.
This is to make service name in the external toolchains unique.
rdar://25612603
2016-04-07 21:34:26 -07:00
practicalswift
abfecfde17 [gardening] if ([space]…[space]) → if (…), for(…) → for (…), while(…) → while (…), [[space]x, y[space]] → [x, y] 2016-04-04 16:22:11 +02:00
mawadah
9494681745 [cmake] Allow Swift libraries to individually build for specific
deployment targets.
2016-02-25 16:54:43 -08:00
Argyrios Kyrtzidis
9e244a5275 [SourceKit] Bring back the 'com.apple.' prefix for the bundle identifier of the XPC service.
We need this currently. Later-on we can make this more configurable.
2016-02-04 16:42:15 -08:00
Harlan Haskins
1777c20aff [coverage] Fixed indentation in CMake 2016-02-01 12:38:22 -08:00
Harlan Haskins
44be500157 [coverage] Changed back to old coverage check in CMakeLists.txt files 2016-01-28 13:21:38 -08:00
Harlan Haskins
e997fc3ae3 [coverage] Changed 'none' to 'false' for coverage default 2016-01-28 11:23:59 -08:00
Harlan Haskins
9eb729ce79 [coverage] Reworked CMake invocation for coverage testing given there are three states for SWIFT_ANALYZE_CODE_COVERAGE 2016-01-26 16:36:26 -08:00
Harlan Haskins
c6c0b3d5d0 [coverage] Removed explicit swift-%p.profraw arguments from CMake commands, because we're using LLVM's environment variables 2016-01-25 19:49:03 -08:00
Argyrios Kyrtzidis
c24099c585 [sourcekit] Add the version to the XPC service identifier so that it can be distinct amongst multiple toolchains.
rdar://24292112
2016-01-21 18:42:05 -08:00
Luke Larson
ba619a9ff2 [CMake] Support code coverage analysis 2016-01-19 18:51:07 -08:00
Dmitri Gribenko
42591f7cba SourceKit CMake: use the C compiler and linker flags computed by the Swift build system 2016-01-11 16:23:54 -08:00
Dmitri Gribenko
08854d13ac SourceKit CMake: remove code to handle legacy SDKs 2016-01-11 16:23:54 -08:00
Jordan Rose
6a0527ec14 [SourceKit/CMake] Fix output directory for building with Xcode. 2015-11-06 16:27:08 -08:00
Ben Langmuir
07e7be5d99 [sourcekit] Fix swift library dependencies
Now that we're in the same repo, use cmake targets instead of paths so
we get correct dependencies.
2015-11-05 12:47:38 -08:00
Argyrios Kyrtzidis
8f0bc8c95f [CMake] Fix building SourceKit for a standalone build. 2015-11-05 11:02:47 -08:00
Argyrios Kyrtzidis
8ff6a98a99 [sourcekit] Merge SourceKit into the Swift repo.
The code goes into its own sub-tree under 'tools' but tests go under 'test',
so that running 'check-swift' will also run all the SourceKit tests.

SourceKit is disabled on non-darwin platforms.
2015-11-05 01:09:08 -08:00