diff --git a/toolchain/symbiflow-toolchain/build.sh b/toolchain/symbiflow-toolchain/build.sh new file mode 100644 index 00000000..dbf7dc5f --- /dev/null +++ b/toolchain/symbiflow-toolchain/build.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +mkdir -p $PREFIX + +curl -s https://storage.googleapis.com/symbiflow-arch-defs-gha/symbiflow-toolchain-latest | xargs wget -qO- | tar -xJC $PREFIX diff --git a/toolchain/symbiflow-toolchain/meta.yaml b/toolchain/symbiflow-toolchain/meta.yaml new file mode 100644 index 00000000..e38121df --- /dev/null +++ b/toolchain/symbiflow-toolchain/meta.yaml @@ -0,0 +1,30 @@ +{% set version = '%s_%04i_%s'|format(GIT_DESCRIBE_TAG|replace('v','') or '0.X', GIT_DESCRIBE_NUMBER|int, GIT_DESCRIBE_HASH or 'gUNKNOWN') %} + +package: + name: symbiflow-toolchain + version: {{ version }} + +source: + git_url: https://github.com/SymbiFlow/symbiflow-arch-defs.git + git_rev: master + +build: + # number: 201803050325 + number: {{ environ.get('DATE_NUM') }} + # string: 20180305_0325 + string: {{ environ.get('DATE_STR') }} + script_env: + - CI + +requirements: + build: + - wget + - curl + host: + run: + +about: + home: https://github.com/SymbiFlow/symbiflow-arch-defs + license: ISC + license_file: LICENSE + summary: 'FOSS architecture definitions of FPGA hardware useful for doing PnR device generation.'