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

Reconfiguring should preserve CFG_* settings #387

Closed
erickt opened this issue May 18, 2011 · 2 comments
Closed

Reconfiguring should preserve CFG_* settings #387

erickt opened this issue May 18, 2011 · 2 comments

Comments

@erickt
Copy link
Contributor

erickt commented May 18, 2011

As I mentioned in graydon/rust#368, I need to specify a custom version of llvm and clang for compiling rust. Unfortunately, when the makefiles are changed, this triggers a reconfigure, which blows away my CFG_* settings. This results in the wrong version of clang being used, which causes my build to error out. Could the CFG_ be preserved across reconfigures to prevent this from happening?

@eholk
Copy link
Contributor

eholk commented May 18, 2011

The way I deal with needing a special version of LLVM and Clang is to create an env.sh that I source in my terminal before beginning rust work. This changes to PATH so that the Rust-compatible LLVM and Clang are preferred over the system default.

Of course, being able to specify a user config file that overrides the automatically determined values would be nice sometimes too.

@graydon
Copy link
Contributor

graydon commented May 26, 2011

overriding CFG settings manually is not supported; landed support for hitting this particular case in different way

@graydon graydon closed this as completed May 26, 2011
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Diff reduction between OpenBSD and Bitrig

Bitrig had a number of errors and omissions.
Also, fill out struct glob_t on all BSDs.

A follow-up commit will condense OpenBSD/Bitrig common code into a separate file.
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
antoyo added a commit to antoyo/rust that referenced this issue Nov 19, 2023
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
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

No branches or pull requests

3 participants