Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: add symbiflow-toolchain package #48

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,12 @@ jobs:
after_success:
- echo "Xilinx Vivado metapackages built for versions:" && cat $VERSIONS

# EDA Tools - Toolchains
- stage: "No dependencies"
os: linux
dist: xenial
env: PACKAGE=toolchain/symbiflow-toolchain

# Move packages from the current label to main
- stage: "Main label upload"
os: linux
Expand Down
10 changes: 10 additions & 0 deletions toolchain/symbiflow-toolchain/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

set -e
set -x

if [ x"$TRAVIS" = xtrue ]; then
CPU_COUNT=2
fi

wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/presubmit/install/1049/20201123-030526/symbiflow-arch-defs-install-05bd35c7.tar.xz | tar -xJC ${PREFIX}
24 changes: 24 additions & 0 deletions toolchain/symbiflow-toolchain/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{% 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: prjxray-db
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
- TRAVIS

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.'