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

cmake build system doesnt take variables from LUAROCKS_CONFIG #1160

Open
teto opened this issue Feb 24, 2020 · 1 comment
Open

cmake build system doesnt take variables from LUAROCKS_CONFIG #1160

teto opened this issue Feb 24, 2020 · 1 comment

Comments

@teto
Copy link

teto commented Feb 24, 2020

I am trying to fix a build with libluv on nixos. To achieve this, I need to pass certain flags to cmake.
Peeking at src/luarocks/build/cmake.lua, I found that variables are passed to cmake so I proceeded to add variables to the file pointed at by LUAROCKS_CONFIG.
There were ignored and after doublechecking, it seems like src/luarocks/build/cmake.lua takes its variables from the rockspec only, but make has a different behaviors and follows the doc more closely
as variables can also be overriden on the command line src/luarocks/build/make.lua.
Would be cool to have these converge.

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

1 participant