Skip to content

Unable to find locally installed cosmocc toolchain #5273

Closed Answered by waruqi
IMXEren asked this question in Q&A
Discussion options

You must be logged in to vote

try this patch #5281

I'm not sure that this would be a good alternative for those who still want to use the remote toolchain (referring to the first post). Is there a interface for toolchain that specifies what type can be used? Maybe set_toolchains("@!cosmocc") can assert that to prefer remote > local (if remote is found). What do you think about this? Explicit definition of --sdk or Implicit search for --sdk.

add_requires("cosmocc", {system = true})

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@waruqi
Comment options

@IMXEren
Comment options

@IMXEren
Comment options

@IMXEren
Comment options

Comment options

You must be logged in to vote
2 replies
@waruqi
Comment options

Answer selected by IMXEren
@IMXEren
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants