Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Install binaries under$SWIFT_PREFIX/usr/bin instead of/usr/bin#455

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
kkebo wants to merge3 commits intoswiftlang:main
base:main
Choose a base branch
Loading
fromkkebo:install-binaries-under-swift-prefix

Conversation

@kkebo
Copy link

@kkebokkebo commentedMar 30, 2025
edited
Loading

Motivation

fixes#383

This prevents some binaries from being unintentionally overwritten by the system package manager.

Changes

I added the following changes to 6.0 Dockerfiles, 6.1 Dockerfiles, nightly-6.1 Dockerfiles, nightly-6.2 Dockerfiles, and nightly-main Dockerfiles.

  • Extract a tarball into$SWIFT_PREFIX instead of/
    • $SWIFT_PREFIX is/opt/swift/{version number} by default.
  • SetPATH="${SWIFT_PREFIX}/usr/bin:${PATH}" andLD_LIBRARY_PATH="${SWIFT_PREFIX}/usr/lib/swift/linux"
  • Create symbolic links of$SWIFT_PREFIX/usr/bin/* to/usr/bin/* for existing users who expectswift to be in/usr/bin.

@kkebo
Copy link
Author

I have to change the files added in#456 as well.

#456

@kkebokkeboforce-pushed theinstall-binaries-under-swift-prefix branch from984462a tofd82e29CompareApril 1, 2025 13:43
@kkebo
Copy link
Author

I have to change the files added in#456 as well.

I pushed0628abe.

@kkebokkeboforce-pushed theinstall-binaries-under-swift-prefix branch from0628abe to6902af9CompareApril 7, 2025 15:54
@kkebokkeboforce-pushed theinstall-binaries-under-swift-prefix branch from6902af9 to0225a99CompareApril 24, 2025 11:07
@kkebokkeboforce-pushed theinstall-binaries-under-swift-prefix branch 2 times, most recently from79a75a3 to1eba53fCompareJuly 15, 2025 17:51
@kkebo
Copy link
Author

I updated the branch and added the changes for the new nightly-6.2 directory.

@kkebokkeboforce-pushed theinstall-binaries-under-swift-prefix branch from1eba53f to6eecf3bCompareAugust 14, 2025 14:09
@kkebokkeboforce-pushed theinstall-binaries-under-swift-prefix branch from6eecf3b to4226312CompareSeptember 4, 2025 13:29
This prevents some binaries from being unintentionally overwritten by the system package manager. Symbolic links are also placed in the old directory (`/usr/bin`) for compatibility.
…/bin`This prevents some binaries from being unintentionally overwritten by the system package manager. Symbolic links are also placed in the old directory (`/usr/bin`) for compatibility.
…/bin`This prevents some binaries from being unintentionally overwritten by the system package manager. Symbolic links are also placed in the old directory (`/usr/bin`) for compatibility.
@kkebokkeboforce-pushed theinstall-binaries-under-swift-prefix branch from4226312 toc3797c7CompareSeptember 13, 2025 12:52
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@shahmishalshahmishalAwaiting requested review from shahmishalshahmishal is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Consider changing the installation location

1 participant

@kkebo

[8]ページ先頭

©2009-2025 Movatter.jp