Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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_jll

julia> 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)