[arch-commits] Commit in openimageio/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Thu Jun 4 08:43:11 UTC 2015
Date: Thursday, June 4, 2015 @ 10:43:11
Author: svenstaro
Revision: 134749
Use clang for now
Modified:
openimageio/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-04 08:36:14 UTC (rev 134748)
+++ PKGBUILD 2015-06-04 08:43:11 UTC (rev 134749)
@@ -10,7 +10,7 @@
url="http://www.openimageio.org/"
license=('custom')
depends=('openexr' 'boost-libs' 'jasper' 'glew' 'libtiff' 'opencolorio' 'intel-tbb')
-makedepends=('cmake' 'qt4' 'python2' 'boost' 'mesa' 'git')
+makedepends=('cmake' 'qt4' 'python2' 'boost' 'mesa' 'git' 'clang') # Remove clang when this compiles with gcc 5.1
optdepends=('qt4: iv image viewer'
'python2: bindings support')
source=(git+git://github.com/OpenImageIO/oiio.git#tag=Release-${pkgver}
@@ -30,6 +30,10 @@
[[ -d build ]] && rm -r build
mkdir build && cd build
+ export CC="clang"
+ export CXX="clang++"
+ export CXXFLAGS="-Wno-error -w"
+
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPYLIB_INSTALL_DIR=lib/python2.7/site-packages \
More information about the arch-commits
mailing list