It's a little concerning that their build process relies on a .git directory being present. That's going to make it quite tough for packagers to actually package this.
It's a little concerning that their build process relies on a .git directory being present. That's going to make it quite tough for packagers to actually package this.
Here is a description of what it does:
If the attribute export-subst is set for a file then Git will expand several placeholders when adding this file to an archive. The expansion depends on the availability of a commit ID, i.e., if git-archive[1] has been given a tree instead of a commit or a tag then no replacement will be done. The placeholders are the same as those for the option --pretty=format: of git-log[1], except that they need to be wrapped like this: $Format:PLACEHOLDERS$ in the file. E.g. the string $Format:%H$ will be replaced by the commit hash. However, only one %(describe) placeholder is expanded per archive to avoid denial-of-service attacks.
edit: I have a few scripts with #!/usr/bin/luajit as the shebang line.
similarly if you are writing programs in lua rather than in c you can run them in luajit if you just apt install luajit
if you want to release your programs as free software so other people can compile and link them, it's important for them to be able to get the version of luajit you were using so they can debug why your program doesn't work in the current version of luajit
Am I missing something?
And if they can’t wait for official releases, they’d be working off of the git repo?
There are no official releases. To quote from the linked email:
> No release tarballs or binaries are made available. Please do not use obsolete versions from older tarballs or zip files. Please remove any outdated links to these downloads -- they will cease to work soon.
The only way to get a release version of LuaJIT is to compile it from the git repo.
It will be interesting to see how this is packaged in, say, Ubuntu. Will they assign their own version numbers? Dates?
If upstream can't commit to compatibility across release versions then I don't see it happening in distros either.
# git clone -b v2.1.ROLLING --depth 1 git@github.com:LuaJIT/LuaJIT.git
The git log looks like this:
commit 2090842410e0ba6f81fad310a77bf5432488249a (grafted, HEAD, tag: v2.1.ROLLING)
Author: Mike Pall <mike>
Date: Mon Aug 21 03:18:35 2023 +0200
Merge branch 'master' into v2.1