Skip to content

Add preliminary LuaJIT support#53

Merged
natecraddock merged 4 commits intomainfrom
luajit
Jan 21, 2024
Merged

Add preliminary LuaJIT support#53
natecraddock merged 4 commits intomainfrom
luajit

Conversation

@natecraddock
Copy link
Owner

@natecraddock natecraddock commented Jan 19, 2024

Adds the latest release of LuaJIT v2.1 and all necessary build file changes to build as a static library.

This has only been tested on aarch64 macos. Many LuaJIT flags are missing from the build config. Even if it works, it may not be working perfectly.

Uses the Lua 51 library bindings, so some additional LuaJIT functions may be missing. These will be audited and added at a later time.

Although support isn't quite finished, I'm going to merge this. This includes some good cleanups for the build.zig file that I want merged in. Further fixes for LuaJIT will come later

@natecraddock natecraddock changed the title Add preliminary LuaJIT support WIP: Add preliminary LuaJIT support Jan 19, 2024
@natecraddock natecraddock linked an issue Jan 19, 2024 that may be closed by this pull request
@natecraddock natecraddock removed a link to an issue Jan 19, 2024
@natecraddock natecraddock mentioned this pull request Jan 20, 2024
Adds the latest release of LuaJIT v2.1 and all necessary build file
changes to build as a static library.

This has only been tested on aarch64 macos. Many LuaJIT flags are
missing from the build config. Even if it works, it may not be working
perfectly.

Uses the Lua 51 library bindings, so some additional LuaJIT functions
may be missing. These will be audited and added at a later time.

Part of #19
@natecraddock natecraddock changed the title WIP: Add preliminary LuaJIT support Add preliminary LuaJIT support Jan 21, 2024
@natecraddock natecraddock merged commit db29119 into main Jan 21, 2024
@robbielyman robbielyman deleted the luajit branch February 12, 2026 14:01
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

Successfully merging this pull request may close these issues.

1 participant