Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Commits
f98fe28a
Commit
f98fe28a
authored
3 weeks ago
by
Jeremy Soller
Browse files
Options
Downloads
Plain Diff
Merge branch 'luajit' into 'master'
LuaJIT dynamic recipe See merge request
!453
parents
9c54dacd
f84c756c
No related branches found
Branches containing commit
No related tags found
1 merge request
!453
LuaJIT dynamic recipe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
recipes/dev/luajit/recipe.toml
+16
-0
16 additions, 0 deletions
recipes/dev/luajit/recipe.toml
recipes/dev/luajit/redox.patch
+0
-0
0 additions, 0 deletions
recipes/dev/luajit/redox.patch
with
16 additions
and
0 deletions
recipes/
wip/dev/lang
/luajit/recipe.toml
→
recipes/
dev
/luajit/recipe.toml
+
16
−
0
View file @
f98fe28a
#TODO remove -DLUAJIT_SECURITY_MCODE=0
[source]
# LuaJIT is only available as a rolling release
git
=
"https://luajit.org/git/luajit.git"
rev
=
"
2090842410e0ba6f81fad310a77bf5432488249a
"
rev
=
"
a4f56a459a588ae768801074b46ba0adcfb49eb1
"
patches
=
[
"redox.patch"
]
[build]
template
=
"custom"
script
=
"""
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
DYNAMIC_INIT
# Cookbook doesn't apply patches to git repositiories (so we do it manually)
# The patch is applied so that LUAJIT_OS is set to LUAJIT_OS_POSIX without
# redefinition warnings
git apply "${COOKBOOK_RECIPE}/redox.patch"
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
${COOKBOOK_MAKE} -j ${COOKBOOK_MAKE_JOBS} install
\
PREFIX="${COOKBOOK_STAGE}"
\
BUILDMODE='static'
\
TARGET_SYS='Redox'
\
XCFLAGS='-DLUAJIT_SECURITY_MCODE=0'
\
CROSS="${TARGET}-"
cd "${COOKBOOK_STAGE}"/bin && ln -s luajit-2.1.* luajit
"""
This diff is collapsed.
Click to expand it.
recipes/
wip/dev/lang
/luajit/redox.patch
→
recipes/
dev
/luajit/redox.patch
+
0
−
0
View file @
f98fe28a
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment