- Build only on 64 bit architectures
OBS-URL: https://build.opensuse.org/package/show/benchmark/piglit?expand=0&rev=4
This commit is contained in:
parent
0b9912e244
commit
7b1c4564b9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 16 10:03:19 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Build only on 64 bit architectures
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 08 09:55:33 UTC 2017 - mimi.vx@gmail.com
|
Wed Feb 08 09:55:33 UTC 2017 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
14
piglit.spec
14
piglit.spec
@ -56,7 +56,7 @@ Requires: python3-Mako
|
|||||||
Requires: python3-numpy
|
Requires: python3-numpy
|
||||||
Requires: python3-six
|
Requires: python3-six
|
||||||
Requires: python3-xml
|
Requires: python3-xml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Excludearch: %{ix86} %{arm} ppc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenGL driver testing framework
|
OpenGL driver testing framework
|
||||||
@ -80,15 +80,11 @@ OpenGL driver testing framework
|
|||||||
# Note: Overwriting CMAKE_SKIP_RPATH to be off, but enabling
|
# Note: Overwriting CMAKE_SKIP_RPATH to be off, but enabling
|
||||||
# CMAKE_BUILD_WITH_INSTALL_RPATH so the individual test binaries in
|
# CMAKE_BUILD_WITH_INSTALL_RPATH so the individual test binaries in
|
||||||
# /usr/lib64/piglit/bin/* can find the libraries in /usr/lib64/piglit/lib
|
# /usr/lib64/piglit/bin/* can find the libraries in /usr/lib64/piglit/lib
|
||||||
%cmake -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
|
%cmake \
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=OFF -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON
|
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
|
||||||
|
-DCMAKE_SKIP_RPATH:BOOL=OFF \
|
||||||
# Test: Disabled smp flags to try to prevent out of memory on i586 build machines in buildservice.
|
-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON
|
||||||
%ifarch %{ix86}
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
%else
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
Loading…
Reference in New Issue
Block a user