You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ Staging app and tracing logs...
47
47
Cell b52d4499-f402-4b95-8ccc-75f95c8b518d successfully created container for instance 90754c9f-3c50-43a5-bdaa-80ad61cee7c3
48
48
Downloading app package...
49
49
Downloaded app package (30K)
50
-
-----> Buildpack version 2.2.0
50
+
-----> Buildpack version 2.1.1
51
51
-----> Default supported Swift version is 5.0.2
52
52
-----> Configure for apt-get installs...
53
53
-----> Writing profile script...
@@ -182,7 +182,7 @@ The buildpack will detect your app as Swift if it has a `Package.swift` file in
182
182
183
183
### Version installed on the IBM Cloud
184
184
185
-
The latest version of the IBM Cloud buildpack for Swift on the IBM Cloud is [v2.1.0](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.1.0).
185
+
The latest version of the IBM Cloud buildpack for Swift on the IBM Cloud is [v2.1.1](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.1.0).
186
186
187
187
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:
188
188
@@ -238,6 +238,7 @@ $ cat .swift-version
238
238
Please note that the swift_buildpack installed on the IBM Cloud **caches** the following versions of the Swift binaries:
239
239
240
240
- `5.0.2`
241
+
- `5.0.1`
241
242
- `4.2.4`
242
243
243
244
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.
@@ -348,6 +349,12 @@ If you need to specify the path to header files for a system package installed b
348
349
-Xcc -I$BUILD_DIR/.apt/usr/include/<path to header files>
349
350
```
350
351
352
+
If you need to specify environment variables that apply during the build,, such as to enable [Kitura-NIO](https://github.com/IBM-Swift/Kitura-NIO#using-kitura-nio), create a file with the name `.swift-build-env-linux` in the root project directory. Edit the file and add one environment variable per line. For example:
353
+
```
354
+
KITURA_NIO=1
355
+
FOO=BAR
356
+
```
357
+
351
358
### libdispatch
352
359
353
360
Previous versions of this buildpack provided the [libdispatch](https://github.com/apple/swift-corelibs-libdispatch) binaries for Swift development builds **prior** to 2016-08-23. However, current and future versions of this buildpack will **not** provide those binaries. Users should upgrade their applications to Swift 3.0, which already includes the libdispatch binaries.
0 commit comments