Giter Club home page Giter Club logo

asdf-lua's People

Contributors

aitorciki avatar averms avatar hendursaga avatar iroddis avatar isavegas avatar jmcantrell avatar ktec avatar lowks avatar nulty avatar shionryuu avatar siiky avatar stratus3d avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

asdf-lua's Issues

Lua 5.4.5 and 5.4.6 are available

Lua 5.4.5 and 5.4.6 are available

filename date size checksum (sha256)
lua-5.4.6.tar.gz 2023-05-02 363329 7d5ea1b9cb6aa0b59ca3dde1c6adcb57ef83a1ba8e5432c0ecd06bf439b3ad88
lua-5.4.5.tar.gz 2023-04-18 363316 59df426a3d50ea535a460a452315c4c0d4e1121ba72ff0bdde58c2ef31d6f444

`linux-readline` support

Hello there! I'm pretty new to this (asdf and its plugins), so bear with me. :)

Is there a way to have asdf install Lua with a Readline-enabled interpreter on Linux? Making it an option, not the default, of course! The make target (and the variable target on bin/install) is linux-readline.

If you can point me in the right direction I can try to implement it and send a PR; for now I'll try to hack my way through this, not knowing better.


EDIT: I wonder if an environment variable is OK, or frowned upon... It would be easy to make something like ASDF_LUA_LINUX_READLINE=1 asdf install lua 5.4.2 work.

Failure when trying to install LuaJIT

Trying to install LuaJIT causes an error for me.

$ asdf install lua LuaJIT-2.0.5
/Users/kevinsjoberg/.asdf/plugins/lua/bin/../lib/utils.sh: line 38: version_info[2]: unbound variable
/Users/kevinsjoberg/.asdf/plugins/lua/bin/../lib/utils.sh: line 61: pkg_name: unbound variable
/Users/kevinsjoberg/.asdf/plugins/lua/bin/../lib/utils.sh: line 38: version_info[2]: unbound variable
/Users/kevinsjoberg/.asdf/plugins/lua/bin/../lib/utils.sh: line 61: pkg_name: unbound variable

os: macOS 11.2.1
bash: GNU bash, version 5.1.4(1)-release (x86_64-apple-darwin20.2.0)
asdf: v0.8.0-c6145d0

`LUA_DIR` environment variable

Thank you for your work. Very handy plugin.

It would be great to add LUA_DIR environment variable during installation (optionally LUA_LIBRARIES and LUA_INCLUDE_DIR but LUA_DIR should be enough) and update them every time during language version switch.

Luarocks installation fails on systems using parallel make

If the number of "jobs" for make is by default set to something greater than 1, the make bootstrap step of installing Luarocks will fail, due to: luarocks/luarocks#1638

Manually setting MAKEFLAGS="--jobs=1 before running make bootstrap works around the issue.

The maintainers of Luarocks seem like they will not fix it in upstream, so maybe it can be added in the install script of this plugin instead?

This affects any system where the default MAKEFLAGS is configured to anything greater than 1, for example systems that do the common thing of setting MAKEFLAGS="--jobs=$(nproc)".

Update: Looks like maybe there will be a fix upstream after all: luarocks/luarocks#1663

If that PR is merged then this issue can be closed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.