2023-10-23 01:52:31 +03:00
|
|
|
distributable: ~
|
|
|
|
|
|
|
|
warnings:
|
|
|
|
- vendored
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: JuliaLang/julia/tags
|
|
|
|
strip: /v/
|
|
|
|
|
|
|
|
interprets:
|
|
|
|
extensions: jl
|
|
|
|
args: [julia]
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
curl.se: '*'
|
|
|
|
gnu.org/tar: '*'
|
|
|
|
working-directory: tmp
|
|
|
|
script:
|
|
|
|
- curl -L "https://julialang-s3.julialang.org/bin/$PLATFORM/$ARCH/{{version.major}}.{{version.minor}}/julia-{{version.raw}}-$TRIPLE.tar.gz" |
|
|
|
|
tar zxvf - --strip-components=1
|
|
|
|
- mkdir -p "{{prefix}}"
|
|
|
|
- cp -av ./* {{prefix}}/
|
2023-12-28 00:50:16 +03:00
|
|
|
# since these are vendored, all paths are relative; we don't need to fix-machos
|
|
|
|
skip: fix-machos
|
2023-10-23 01:52:31 +03:00
|
|
|
env:
|
|
|
|
linux/x86-64:
|
|
|
|
PLATFORM: 'linux'
|
|
|
|
ARCH: 'x64'
|
|
|
|
TRIPLE: 'linux-x86_64'
|
|
|
|
linux/aarch64:
|
|
|
|
PLATFORM: 'linux'
|
|
|
|
ARCH: 'aarch64'
|
|
|
|
TRIPLE: 'linux-aarch64'
|
|
|
|
darwin/x86-64:
|
|
|
|
PLATFORM: 'mac'
|
|
|
|
ARCH: 'x64'
|
|
|
|
TRIPLE: 'mac64'
|
|
|
|
darwin/aarch64:
|
|
|
|
PLATFORM: 'mac'
|
|
|
|
ARCH: 'aarch64'
|
|
|
|
TRIPLE: 'macaarch64'
|
|
|
|
|
|
|
|
test: test "$(julia fixture.jl)" = "Hello, World!"
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/julia
|