-
Notifications
You must be signed in to change notification settings - Fork 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
Support for compilation / Makefile execution #30
Comments
@p0pr0ck5 Support for Lua libraries with C components are already planned. See our TODO list: https://github.com/openresty/opm#todo But we won't use the author Makefile since Makefiles are non-portable per se. We will provide our own mechanism in opm. |
I, for example, use CMake. And CMake is portable. As an author, it would be a burden to me to maintain some different (opm) build system configuration alongside cmake one. |
@isage cmake is an extra dependency that I never like. |
Yes, but let's take LuaRocks, for example: i can use any build system i want. Makefiles, CMake or just describe build steps in rockspec. That way i can reuse my already existing build scenario. |
@isage The use of LuaRocks is deprecated in OpenResty. Opm decides to do its own build system for C components, in a very portable way. |
I've meant luarocks/ namespace support, as mentioned in TODO. |
@isage Well, the LuaRocks libraries' config will get converted to opm's build system, at least for simple ones. That's how the compatibility will work out. Opm will never run LuaRock module's own build systems directly on opm clients' machines. |
Any plans to support OPM packages to execute
install
commands when installed via opm? E.g. a package could execute a command to locally make some C module as part of the installation process, similar to what Luarocks offers.The text was updated successfully, but these errors were encountered: