forked from iachievedit/package-swift
-
Notifications
You must be signed in to change notification settings - Fork 7
Refactored Scripts #4
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
Open
ffried
wants to merge
67
commits into
swift-arm:master
Choose a base branch
from
ffried:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Patch file for ARM compiles
Don't restrict only to armv7.
Fixes issue with creating sym link Doesn't like symlinks during build process
Beginning of support for crosscompiling scripting
Switch back to preset
Use only @kawa's patch
Updates for building for ARM
Update README.md
- Use custom buildbot for ARM builds - Abort when swift build-script failed - Make whitespaces in paths less of a problem - Move fixing package into function - Ensure correct directory by wrapping into pushd/popd
- Ensure correct directory by wrapping into pushd/popd - Only call update-checkout if git clone succeeded - Consistent logging in all scripts - Add possibility to specify swift version branch by setting $SWIFT_VERSION before calling update.sh - Update default swift version to Swift 3.1 - Merge get.sh into update.sh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've refactored the scripts a little bit. 😃
The following changes were made:
pushd
before all work and apopd
at the end.get.sh
intoupdate.sh
: If theswift
directory does not yet exist,update.sh
behaves likeget.sh
did previously. Otherwise it updates the existing sources just likeupdate.sh
did previously.package.sh
now uses a build bot which can be configured using theetc/arm_buildbots.ini
file..gitignore
anddistclean.sh
since it's now also cloned byupdate-checkout
.README.md
has been updated to match the new prerequisites as well as describing the refactored scripts.swift-3.0
intomaster
. It's probably a good idea to create aswift-3.1
branch now frommaster
.All changes have been tested. I successfully built a Swift 3.1 package today.
Note:
Since there's currently no
swift-3.1-branch
in theswift-arm
fork of Swift, theupdate.sh
script will fail when$SWIFT_SOURCE
is not set to e.g.apple
.