Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yep/swift-build
swift build instructions for the impatient
https://github.com/yep/swift-build
Last synced: 20 days ago
JSON representation
swift build instructions for the impatient
- Host: GitHub
- URL: https://github.com/yep/swift-build
- Owner: yep
- License: bsd-3-clause
- Created: 2015-12-04T06:18:21.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-04T08:00:39.000Z (almost 9 years ago)
- Last Synced: 2024-08-10T14:13:47.918Z (3 months ago)
- Size: 1.95 KB
- Stars: 13
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
swift build instructions for the impatient
------------------------------------------install dependencies: `cmake` and `ninja`
optional dependency for generating documentation: `sphinx`
copy and paste this block to a terminal:
```
git clone --depth=1 https://github.com/apple/swift.git swift
git clone --depth=1 https://github.com/apple/swift-llvm.git llvm
git clone --depth=1 https://github.com/apple/swift-clang.git clang
git clone --depth=1 https://github.com/apple/swift-lldb.git lldb
git clone --depth=1 https://github.com/apple/swift-cmark.git cmark
git clone --depth=1 https://github.com/apple/swift-llbuild.git llbuild
git clone --depth=1 https://github.com/apple/swift-package-manager.git swiftpm
git clone --depth=1 https://github.com/apple/swift-corelibs-xctest.git
git clone --depth=1 https://github.com/apple/swift-corelibs-foundation.git
```build llvm, clang, swift and swift standard library: `./swift/utils/build-script`
create xcode project capable of building swift: `./swift/utils/build-script --xcode --release`
create xcode project for editing swift sources only (no build): `./swift/utils/build-script --xcode-ide-only --release`
use eclipse generator: `/swift/utils/build-script --eclipse --release`
more options of the build script can be found in its help text:
https://github.com/apple/swift/blob/master/utils/build-script#L172