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

Add zachjs-sv2v package #12

Merged
merged 1 commit into from
Nov 20, 2020
Merged
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
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@ jobs:
os: linux
env:
- PACKAGE=capnproto
- stage: "No dependencies"
os: linux
env:
- PACKAGE=zachjs-sv2v
addons:
apt:
update: true
packages:
- build-essential

- stage: "Has first level dependencies"
os: linux
Expand Down
8 changes: 8 additions & 0 deletions zachjs-sv2v/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#! /bin/bash

set -x
set -e

make
install -D bin/sv2v $PREFIX/bin/zachjs-sv2v

2 changes: 2 additions & 0 deletions zachjs-sv2v/condarc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
channels:
- conda-forge
33 changes: 33 additions & 0 deletions zachjs-sv2v/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{% 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: zachjs-sv2v
version: {{ version }}

source:
git_url: https://github.com/zachjs/sv2v.git

build:
# number: 201803050325
number: {{ environ.get('DATE_NUM') }}
# string: 20180305_0325
string: {{ environ.get('DATE_STR') }}
script_env:
- CI
- TRAVIS

requirements:
build:
- stack<2.5.1

test:
commands:
- zachjs-sv2v --help

about:
home: https://github.com/zachjs/sv2v
license: BSD
license_file:
- LICENSE
- NOTICE
summary: 'sv2v converts SystemVerilog (IEEE 1800-2017) to Verilog (IEEE 1364-2005), with an emphasis on supporting synthesizable language constructs.'