Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-1676] Build SourceKit on Linux #44285

Closed
briancroom opened this issue Jun 3, 2016 · 10 comments
Closed

[SR-1676] Build SourceKit on Linux #44285

briancroom opened this issue Jun 3, 2016 · 10 comments
Assignees
Labels
feature A feature request or implementation Linux Platform: Linux

Comments

@briancroom
Copy link
Collaborator

Previous ID SR-1676
Radar None
Original Reporter @briancroom
Type New Feature
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 5
Component/s Source Tooling
Labels New Feature, Linux
Assignee @alblue
Priority Medium

md5: 2d76208c2c35984e0b1d18a6d27299b5

Sub-Tasks:

  • SR-3698 Ensure dry run works for SourceKit
  • SR-3699 Configure builtbots so that source kit is included in default install

blocks:

  • SR-710 Generate XCTestCaseProvider entries on Linux

is blocked by:

  • SR-1613 Require blocks runtime when compiling SourceKit on Linux
  • SR-1639 [SourceKit] Add in-process implementations of sourcekitd functions only defined for XPC
  • SR-1677 Link with libdispatch when building SourceKit on Linux

Issue Description:

SourceKit is currently disabled altogether on Linux, but the plan for resolving SR-710 requires that it be available. The InProc version of sourcekitd should be sufficient for this purpose, but there is still a bit of work required to get this building. See the linked sub-tasks for a (partial?) list of outstanding work.

@briancroom
Copy link
Collaborator Author

For reference, here is a list of related PRs that @modocache posted on SR-710 recently:

@briancroom
Copy link
Collaborator Author

I've opened some other pull requests related to this work:

#3019 - Annotate some tests that fail on Linux
#2862 - Link with libdispatch on Linux

@briancroom
Copy link
Collaborator Author

Here is some additional outstanding work on this front:

#3026 - In-Proc implementation of sourcekitd API functions
#3079 - Only build sourcekitd-repl if a unicode-aware libedit is present
#3080 - CMake dependency fixes
#3085 - Add Semaphore to SourceKitSupport's concurrency module

@briancroom
Copy link
Collaborator Author

Unassigning this from myself as I am unable to continue working on it currently (and haven't been for some time already.)

@alblue
Copy link
Contributor

alblue commented Jan 23, 2017

The build script has been changed to allow source kit to be built on Linux. It does not yet exist in the standard installation however, which means that it's not in the downloadable packages that come from swift.org.

@norio-nomura
Copy link
Contributor

opened #8485 - Enable SourceKit tests if building SourceKit

@norio-nomura
Copy link
Contributor

opened #9025 - Enable SourceKit tests if building SourceKit other than ubuntu 14.04

@alblue
Copy link
Contributor

alblue commented May 10, 2017

Since we're building SourceKit on Linux, and the other task isn't blocking this one, I believe we can close this. Norio, can you confirm?

@norio-nomura
Copy link
Contributor

👍
Should we open another issue about tests failed and are disabled on ubuntu 14.04?

@alblue
Copy link
Contributor

alblue commented May 10, 2017

Sounds like a good idea. The problem is, I wasn't able to reproduce it locally and it's difficult to know how the 14.04 buildbot is set up.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added feature A feature request or implementation and removed new feature labels Nov 12, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A feature request or implementation Linux Platform: Linux
Projects
None yet
Development

No branches or pull requests

4 participants