Skip to content

Commit b145eba

Browse files
author
Mike Ferris
committed
Merge pull request #52 from modocache/patch-2
[README] Document "--arch" build option
2 parents 6a1e783 + 0263034 commit b145eba

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ If you want to build just XCTest, use the `build_script.py` script at the root o
3535
If your install of Swift is located at `/swift` and you wish to install XCTest into that same location, here is a sample invocation of the build script:
3636

3737
```sh
38-
./build_script.py --swiftc="/swift/usr/bin/swiftc" --build-dir="/tmp/XCTest_build" --swift-build-dir="/swift/usr" --library-install-path="/swift/usr/lib/swift/linux" --module-install-path="/swift/usr/lib/swift/linux/x86_64"
38+
./build_script.py \
39+
--swiftc="/swift/usr/bin/swiftc" \
40+
--build-dir="/tmp/XCTest_build" \
41+
--swift-build-dir="/swift/usr" \
42+
--arch="x86_64" \
43+
--library-install-path="/swift/usr/lib/swift/linux" \
44+
--module-install-path="/swift/usr/lib/swift/linux/x86_64"
3945
```
4046

4147
To run the tests on Linux, use the `--test` option:
@@ -45,6 +51,7 @@ To run the tests on Linux, use the `--test` option:
4551
--swiftc="/swift/usr/bin/swiftc" \
4652
--build-dir="/tmp/XCTest_build" \
4753
--swift-build-dir="/swift/usr" \
54+
--arch="x86_64" \
4855
--test
4956
```
5057

0 commit comments

Comments
 (0)