diff options
author | 1138-4EB <1138-4EB@users.noreply.github.com> | 2019-11-21 17:39:24 +0000 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2019-11-21 18:39:24 +0100 |
commit | e506f77e8f6ddeb3e114a3b7e3ce5f114192d801 (patch) | |
tree | d9387c5867ba98c81988591713249915230db9e3 /dist/msys2-mingw/llvm | |
parent | 03862a4607fd127e6570a3e141a92265a23c2a68 (diff) | |
download | ghdl-e506f77e8f6ddeb3e114a3b7e3ce5f114192d801.tar.gz ghdl-e506f77e8f6ddeb3e114a3b7e3ce5f114192d801.tar.bz2 ghdl-e506f77e8f6ddeb3e114a3b7e3ce5f114192d801.zip |
Actions: add workflow 'push' (#1016)
* use CC=clang to build C sources on macOS
* actions: ensure that shared libs are in the PATH on windows
* ci: add GitHub Actions 'push' workflow
* ci: fix group labels
* dist: add GRAY to ansi_color
* ci: use same scripts for GHA and Travis
Diffstat (limited to 'dist/msys2-mingw/llvm')
-rw-r--r-- | dist/msys2-mingw/llvm/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dist/msys2-mingw/llvm/PKGBUILD b/dist/msys2-mingw/llvm/PKGBUILD new file mode 100644 index 000000000..0f6ebf9af --- /dev/null +++ b/dist/msys2-mingw/llvm/PKGBUILD @@ -0,0 +1,28 @@ +_realname=ghdl-llvm +pkgbase=mingw-w64-${_realname} +pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") +pkgver=ci +pkgrel=1 +pkgdesc="GHDL: the open-source analyzer, compiler and simulator for VHDL (LLVM backend) (mingw-w64)" +arch=('any') +#depends=() +makedepends=("${MINGW_PACKAGE_PREFIX}-clang" "${MINGW_PACKAGE_PREFIX}-gcc-ada") +#source=( +# "ghdl::git://github.com/ghdl/ghdl.git#branch=master" +#) +#sha512sums=( +# 'SKIP' +#) + +build() { + mkdir "${srcdir}/builddir" + cd "${srcdir}/builddir" + ../../../../../configure --prefix=${MINGW_PREFIX} --with-llvm-config LDFLAGS=-static --enable-libghdl --enable-synth + make GNATMAKE="gnatmake -j$(nproc)" +} + +package() { + cd "${srcdir}/builddir" + mkdir -p "${pkgdir}${MINGW_PREFIX}/lib" + make DESTDIR="${pkgdir}" install +} |