Skip to content
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

[SR-523] how to --install-swift? #43140

Closed
swift-ci opened this issue Jan 12, 2016 · 3 comments
Closed

[SR-523] how to --install-swift? #43140

swift-ci opened this issue Jan 12, 2016 · 3 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. build-script Area → utils: The build script

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-523
Radar None
Original Reporter juhp (JIRA User)
Type Bug
Status Resolved
Resolution Invalid
Environment

Fedora 23 Linux x86_64

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug, BuildScript
Assignee None
Priority Medium

md5: 20b776860cdccbda9f8a18419ecda0d1

Issue Description:

I tried to build swift on Fedora 23 with:

./utils/build-script -j1 -R – --use-gold-linker --install-swift --install-destdir="/tmp/swift-root"

but I get the error

:
[506/506] Generating swift.1

      • Installing swift ---
        • DESTDIR='/tmp/swift-root'
        • /usr/bin/cmake --build /home/jp/copr/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64 – install
          ninja: error: unknown target 'install'
@belkadan
Copy link
Contributor

@gribozavr?

@gribozavr
Copy link
Collaborator

Please take a look at the buildbot_linux_1510 preset in utils/build-presets.ini.

@swift-ci
Copy link
Collaborator Author

Comment by Jens Petersen (JIRA)

Thanks I got it working with:

./utils/build-script --preset=buildbot_linux install_destdir="%buildroot" installable_package="$PWD/fedora-swift-root.tar.gz"

(actually I made a custom preset to override to jobs=1).

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. build-script Area → utils: The build script
Projects
None yet
Development

No branches or pull requests

3 participants