Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/zencc #927

Merged
merged 18 commits into from
Sep 24, 2024
Merged

Feat/zencc #927

merged 18 commits into from
Sep 24, 2024

Conversation

jaromil
Copy link
Member

@jaromil jaromil commented Sep 20, 2024

Just-in-Time C compiler in Zenroom, compiles and executes C programs using Zenroom calls on the fly.

Useful for testing and prototyping, uses tinycc by Fabrice

@jaromil jaromil force-pushed the feat/zencc branch 5 times, most recently from 7907c0b to dec77d0 Compare September 24, 2024 03:42
perhaps could be named zenjit? it compiles C code that uses zenroom
calls just-in-time and executes it. works with code in test/api
already
now meson links libzenroom statically inside the executables, plus
adds the zencc target
using defines like CCACHE=1 and CLANG=1 one can change behavior of
main makefile targets adding such features. updated the build grid of
github action to use this on meson build.
reuse licensing on tinycc
remove armv7

lua build LUA_USE_IOS

fix double inclusion of static libs

use system malloc

build two separate libraries (avoid lipo)

fix release process and apply ccache where possible

enable ccache on builds
ios and osx to use ccache and zenroom_cc var
eliminate repetition and typos by putting all build time flags into a
single place, supports COMPILER and CCACHE for now.

update CI worlflows to use new build system

standalone build of zencode-exec target for bindings for python, rust and
golang only the zencode-exec binary is needed
@jaromil jaromil merged commit 6011cad into master Sep 24, 2024
25 checks passed
@jaromil jaromil deleted the feat/zencc branch September 24, 2024 09:36
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