-
Notifications
You must be signed in to change notification settings - Fork 19
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
Setting Environment Variables Inside Chroot #85
Comments
Test:
Conclusion: I do not think that One work around is to hardcode your value into the PKGBUILD but that is not very elegant. You might consider asking in the Arch forums. I would keep your post simple by not mentioning ccm since this is clearly a |
Passing environment variables to an arbitrary porgram is possible if its started through sudo . https://wiki.archlinux.org/title/Sudo#Environment_variables @graysky2 : maybe you could test to verify that method works with ccm -and add something to the docs ? Thanks for a great tool. |
Please try it and report back. |
I tried but was unable to get things working . |
I am closing thinking this is not possible. Not ccm's fault, see above. |
I am trying to build mesa-git: https://aur.archlinux.org/packages/mesa-git
However, this makepkg file requires you to set a MESA_WHICH_LLVM environment variable to select which LLVM version to build against. Option 1 is recommend, but option 4 is the default. If I use
MESA_WHICH_LLVM=1 ccm s
to build the package, it looks like it's still using the LLVM from the extra repo and ignoring the environment variable. How should I properly set this variable?The text was updated successfully, but these errors were encountered: