Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terasakisatoshi/hellocexecutablebuilder.jl
Build Julia-wrapper for your C-executable via BinaryBuilder.jl
https://github.com/terasakisatoshi/hellocexecutablebuilder.jl
Last synced: 3 days ago
JSON representation
Build Julia-wrapper for your C-executable via BinaryBuilder.jl
- Host: GitHub
- URL: https://github.com/terasakisatoshi/hellocexecutablebuilder.jl
- Owner: terasakisatoshi
- License: mit
- Created: 2020-10-18T15:35:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-25T07:39:46.000Z (about 4 years ago)
- Last Synced: 2024-10-11T12:41:07.014Z (about 1 month ago)
- Language: Julia
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HelloCExecutableBuilder.jl
# Usage
- Install Docker
- Install Julia
- Install BinaryBuilder.jl via```console
$ julia -e 'using Pkg; Pkg.add("BinaryBuilder")'
``````
$ julia build_tarball.jl --verbose --deploy=local
$ cd ~/.julia/dev/HelloCExecutable_jll
$ julia --project=@.
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.5.2 (2020-09-23)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |julia> using Pkg; Pkg.instantiate()
julia> using HelloCExecutable_jlljulia> HelloCExecutable_jll.hello_world(x->run(`$x`));
Hello, Goma!
```You can wrap [HelloCExecutable_jll](https://github.com/terasakisatoshi/HelloCExecutable_jll.jl) using [HelloCExecutable.jl](https://github.com/terasakisatoshi/HelloCExecutable.jl)
# References
- [Pkg + BinaryBuilder -- The Next Generation](https://julialang.org/blog/2019/11/artifacts/)
- [BinaryBuilder.jl](https://github.com/JuliaPackaging/BinaryBuilder.jl)
- [Yggdrasil.jl](https://github.com/JuliaPackaging/Yggdrasil)
- Especially [Yggdrasil/H/](https://github.com/JuliaPackaging/Yggdrasil/tree/master/H)# Appendix
See also my repository
- [LibHelloBuilder.jl](https://github.com/terasakisatoshi/LibHelloBuilder.jl)