Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/terasakisatoshi/libhello.jl

Test out libhello_jll.jl
https://github.com/terasakisatoshi/libhello.jl

Last synced: 3 days ago
JSON representation

Test out libhello_jll.jl

Awesome Lists containing this project

README

        

# LibHello.jl

![CI](https://github.com/terasakisatoshi/LibHello.jl/workflows/CI/badge.svg?branch=main)

# Overview

This repository will test out [`libhello_jll`](https://github.com/terasakisatoshi/libhello_jll.jl) generated by [`terasakisatoshi/LibHelloBuilder.jl`](https://github.com/terasakisatoshi/LibHelloBuilder.jl)

# Usage

## Install dependencies

- Install [`libhello_jll`](https://github.com/terasakisatoshi/libhello_jll.jl) via:

```console
$ julia --project=@. -e 'using Pkg; Pkg.add(url="https://github.com/terasakisatoshi/libhello_jll.jl.git", rev="libhello-v0.2.0+0")'
```

- Install `CxxWrap.jl` via:

```console
$ julia --project=@. -e 'using Pkg; Pkg.add("CxxWrap")'
```

### Optional (For `armv7l` users e.g. RaspberryPi)

- You can try this Julia Application on your RaspberryPi4 with arm32bit system. Note that, you'll need install `libcxxwrap_julia_jll` its version is `v0.8.2`.

```julia
$ julia --project=@. -e 'using Pkg; Pkg.add(PackageSpec(name="libcxxwrap_julia_jll", rev="b5edd5de8ab5b80e8f945bf1829048ef7a4feee0"))'
```

# Test out

- Run `Pkg.test()`:

```console
$ julia --project=@. -e 'using Pkg; Pkg.test()'
Testing LibHello
Status `/private/var/folders/lp/9bwxfgs118nb_32vq8psnd_40000gn/T/jl_Kt0gyU/Project.toml`
[1f15a43c] CxxWrap v0.11.0
[143cafd5] LibHello v0.1.0 `~/work/LibHello.jl`
[3939d790] libhello_jll v0.2.0+0 `https://github.com/terasakisatoshi/libhello_jll.jl.git#libhello-v0.2.0+0`
[8dfed614] Test
Status `/private/var/folders/lp/9bwxfgs118nb_32vq8psnd_40000gn/T/jl_Kt0gyU/Manifest.toml`
[1f15a43c] CxxWrap v0.11.0
[143cafd5] LibHello v0.1.0 `~/work/LibHello.jl`
[1914dd2f] MacroTools v0.5.6
[3eaa8342] libcxxwrap_julia_jll v0.8.0+0
[3939d790] libhello_jll v0.2.0+0 `https://github.com/terasakisatoshi/libhello_jll.jl.git#libhello-v0.2.0+0`
[2a0f44e3] Base64
[ade2ca70] Dates
[8ba89e20] Distributed
[b77e0a4c] InteractiveUtils
[76f85450] LibGit2
[8f399da3] Libdl
[56ddb016] Logging
[d6f4376e] Markdown
[44cfe95a] Pkg
[de0858da] Printf
[3fa0cd96] REPL
[9a3f8284] Random
[ea8e919c] SHA
[9e88b42a] Serialization
[6462fe0b] Sockets
[8dfed614] Test
[cf7118a7] UUIDs
[4ec0a83e] Unicode
Test Summary: | Pass Total
greet | 1 1
Test Summary: | Pass Total
get_array | 1 1
Testing LibHello tests passed
```

# References:

- [terasakisatoshi/libhello_jll.jl](https://github.com/terasakisatoshi/libhello_jll.jl)
- [terasakisatoshi/LibHelloBuilder.jl](https://github.com/terasakisatoshi/LibHelloBuilder.jl)
- [JuliaPackaging/BinaryBuilder.jl](https://github.com/JuliaPackaging/BinaryBuilder.jl)