Skip to content

[build-script][test] Remove hard-coded install prefix of /usr and pass it in instead #75

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

Merged
merged 1 commit into from
Apr 20, 2020

Conversation

finagolfin
Copy link
Member

Because of a bug upstream in the main build-script, the install prefix set by the user wasn't being passed in to this repo and these files assumed it to be /usr. This pull removes that assumption and has the main build-script pass an install prefix appended to the toolchain path instead, swiftlang/swift#30565.

@benlangmuir
Copy link
Contributor

swiftlang/swift#30565
@swift-ci please test

@finagolfin
Copy link
Member Author

Looks like I missed one, swiftlang/sourcekit-lsp#257 will also need to be tested with these two.

@benlangmuir
Copy link
Contributor

@benlangmuir
Copy link
Contributor

@shahmishal
Copy link
Member

@buttaface Can you please resolve the conflict?

<<<<<<< prefix
  env = os.environ
  # Set the toolchain used in tests at runtime
  env['INDEXSTOREDB_TOOLCHAIN_BIN_PATH'] = args.toolchain
=======
  if args.sanitize_all:
    base = args.build_path
>>>>>>> master

@finagolfin
Copy link
Member Author

On it.

@finagolfin
Copy link
Member Author

Rebased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants