Skip to content

Commit

Permalink
Swift 4.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Compton committed Apr 1, 2019
1 parent 71263df commit ec6c367
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ OK
Starting app Kitura-Starter in org [email protected] / space dev as [email protected]...
-----> Downloaded app package (28K)
Cloning into '/tmp/buildpacks/swift-buildpack'...
-----> Buildpack version 2.0.19
-----> Buildpack version 2.0.20
-----> Default supported Swift version is 5.0
-----> Configure for apt-get installs...
-----> Downloading system level dependencies...
Expand Down Expand Up @@ -178,7 +178,7 @@ The buildpack will detect your app as Swift if it has a `Package.swift` file in
### Version installed on the IBM Cloud
The latest version of the IBM Cloud buildpack for Swift on the IBM Cloud is [v2.0.19](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.0.19).
The latest version of the IBM Cloud buildpack for Swift on the IBM Cloud is [v2.0.20](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.0.20).
Please note that it is possible that the latest buildpack code contained in this repo hasn't yet been installed on the IBM Cloud. If that happens to be the case and you'd like to leverage the latest buildpack code, you can do so by adding the `-b https://github.com/IBM-Swift/swift-buildpack` parameter to the `ibmcloud app push` command, as shown below:
Expand Down Expand Up @@ -234,7 +234,7 @@ $ cat .swift-version
Please note that the swift_buildpack installed on the IBM Cloud **caches** the following versions of the Swift binaries:
- `5.0`
- `4.2.3`
- `4.2.4`
If you'd like to use a different version of Swift [that is not cached] on the IBM Cloud, you can specify it in the `.swift-version` file. Please be aware that using a Swift version that is not cached increases the provisioning time of your app on the IBM Cloud.
Expand Down Expand Up @@ -389,17 +389,17 @@ Admin tasks
To install this buildpack:
```shell
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.19/buildpack_swift_v2.0.19-20190328-0046.zip
ibmcloud cf create-buildpack swift_buildpack buildpack_swift_v2.0.19-20190328-0046.zip <position>
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.20/buildpack_swift_v2.0.20-20190328-0046.zip
ibmcloud cf create-buildpack swift_buildpack buildpack_swift_v2.0.20-20190328-0046.zip <position>
```
**Position** is a positive integer, sets priority, and is sorted from lowest to highest when listed using the `ibmcloud cf buildpacks` command.
And to update it:
```shell
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.19/buildpack_swift_v2.0.19-20190328-0046.zip
ibmcloud cf update-buildpack swift_buildpack -p buildpack_swift_v2.0.19-20190328-0046.zip
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.20/buildpack_swift_v2.0.20-20190328-0046.zip
ibmcloud cf update-buildpack swift_buildpack -p buildpack_swift_v2.0.20-20190328-0046.zip
```
For more details on installing buildpacks, see [Adding buildpacks to Cloud Foundry](https://docs.cloudfoundry.org/adminguide/buildpacks.html).
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.19
2.0.20
4 changes: 2 additions & 2 deletions bin/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ status "Bin path: $BIN_PATH"

# These should be statically linked, seems a Swift bug.
status "Copying dynamic libraries"
cp --preserve=links $SWIFT_PATH/usr/lib/swift/linux/*.so $BUILD_DIR/.swift-lib
cp --preserve=links $SWIFT_PATH/usr/lib/swift/linux/*.so.* $BUILD_DIR/.swift-lib 2>/dev/null || true
cp $SWIFT_PATH/usr/lib/swift/linux/*.so $BUILD_DIR/.swift-lib
cp $SWIFT_PATH/usr/lib/swift/linux/*.so.* $BUILD_DIR/.swift-lib 2>/dev/null || true
cp $BIN_PATH/*.so $BUILD_DIR/.swift-lib 2>/dev/null || true
# Copying additional dynamic libraries
cp $SWIFT_PATH/usr/lib/*.so $BUILD_DIR/.swift-lib
Expand Down
6 changes: 3 additions & 3 deletions manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ dependencies:
cf_stacks:
- cflinuxfs2
- name: swift
version: 4.2.3
uri: https://swift.org/builds/swift-4.2.3-release/ubuntu1404/swift-4.2.3-RELEASE/swift-4.2.3-RELEASE-ubuntu14.04.tar.gz
md5: 5fc24ed16b76f5b716d3a00a911f5d0c
version: 4.2.4
uri: https://swift.org/builds/swift-4.2.4-release/ubuntu1404/swift-4.2.4-RELEASE/swift-4.2.4-RELEASE-ubuntu14.04.tar.gz
md5: ed6eaf69989778149698f2cdac13d166
cf_stacks:
- cflinuxfs2
- name: clang
Expand Down

0 comments on commit ec6c367

Please sign in to comment.