Uploaded image for project: 'Swift'
  1. Swift
  2. SR-2653

Allow CMake SWIFT_BUILD_SOURCEKIT to be enabled/disabled via build-script

    XMLWordPrintable

    Details

      Description

      I'm currently attempting to cross-compile the stdlib for Android using a macOS host. One snag is that apple/swift/CMakeLists.txt adds a SourceKit target if the host machine is Darwin, and does not add it if the host is Linux. I should be able to turn SourceKit builds on or off via the build-script.

      Following the project's convention, this should probably be an option named --skip-build-sourcekit. On Linux, utils/build-script should pass this option by default. On Darwin, it should not.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              modocache Brian Ivan Gesiak
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: