diff options
author | manjaro | 2019-05-25 16:09:33 +0200 |
---|---|---|
committer | manjaro | 2019-05-25 18:46:46 +0200 |
commit | feba749a2c3112063eaabee2b06576cef82bda7f (patch) | |
tree | 9246873a5afaf2691891dd7f8b7f5b00cdc0d836 /PKGBUILD | |
parent | f131d765a1801de52091ee6b8de2b0d04b513778 (diff) | |
download | aur-feba749a2c3112063eaabee2b06576cef82bda7f.tar.gz |
Add Travis Ci build and deploy.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -2,7 +2,7 @@ pkgname=luxcorerender-git pkgver=2.2alpha1.r11.gb1b91b90f pkgrel=1 -pkgdesc="LuxCoreRender is a physically correct, unbiased rendering engine." +pkgdesc="LuxCoreRender: a physically correct, unbiased rendering engine." arch=('x86_64') url="https://www.luxcorerender.org/" license=('Apache') @@ -38,6 +38,14 @@ prepare() { build() { cd ${srcdir}/LuxCore mkdir -p build && cd build + ((TRAVIS)) && { + suppress_warnings="-Wno-implicit-fallthrough -Wno-class-memaccess" + CFLAGS="$CFLAGS $suppress_warnings" + CXXFLAGS="$CXXFLAGS $suppress_warnings" + } + msg "cflags=\"$CFLAGS\"" + msg "cxxflags=\"$CXXFLAGS\"" + cmake -DPYTHON_V=3 .. make } |