diff options
author | Tom Scogland <scogland1@llnl.gov> | 2024-10-15 19:04:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-16 04:04:33 +0200 |
commit | d2f1e2992719beb4d8f56a1be267073e75c3741a (patch) | |
tree | e834777b3903970a21acda129d265622ec38fc6b /README.md | |
parent | 57586df91a6a681e06e280abdaa93fc2ea425565 (diff) | |
download | spack-d2f1e2992719beb4d8f56a1be267073e75c3741a.tar.gz spack-d2f1e2992719beb4d8f56a1be267073e75c3741a.tar.bz2 spack-d2f1e2992719beb4d8f56a1be267073e75c3741a.tar.xz spack-d2f1e2992719beb4d8f56a1be267073e75c3741a.zip |
Fix neovim on Darwin (#46905)
* lua: update luarocks resource to 3.11.1
We have kept an older 3.8 for some time, but that now uses an incorrect
value for the deployment target for macos, causing builds for bundles to
succeed but in such a way that they can't be linked to applications by
`ld` but only loaded by dlopen. This fixes that, and also generally
updates the tool.
* lua-luajit-openresty: add new version fix LUA_PATH
Adds a newer version of openresty's luajor, and adds the slightly odd
extra share path they use that contains the `jit.*` modules. Without
that, things that use bytecode-saving and other jit routines (like
neovim) fail.
* lua-lpeg: fix lpeg build to work for neovim on OSX
Normally luarocks builds all lua libraries as bundles on macos, this
makes sense, but means they can't then be linked by LD into executables
the way neovim expects to do. I'm not sure how this ever worked, if it
did. This patch adds the appropriate variables to have luarocks build
the library as a shared librar, and subsequently fix the id with
install_name_tool (the built-in functionality for this does not
trigger).
This also adds a symlink from `liblpeg.dylib` to `lpeg.so` because
neovim will not build on macos without it. See corresponding upstream
pull request at https://github.com/neovim/neovim/pull/30749
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions