Accepting request 405475 from devel:libraries:c_c++
1 OBS-URL: https://build.opensuse.org/request/show/405475 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glm?expand=0&rev=8
This commit is contained in:
parent
1e7a6dc685
commit
219d436d98
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d48a0d732776b0fbfd17f01c830a08b50f07a3226f0cab95fcca5591982a43f2
|
||||
size 4347932
|
3
glm-0.9.7.5.zip
Normal file
3
glm-0.9.7.5.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f39a908c6519e70ea1e91a8732e69aed84d28c46bc01cc3dedf71ca88b06716f
|
||||
size 4347932
|
@ -1,7 +1,7 @@
|
||||
Index: glm/CMakeLists.txt
|
||||
Index: CMakeLists.txt
|
||||
===================================================================
|
||||
--- glm.orig/CMakeLists.txt
|
||||
+++ glm/CMakeLists.txt
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -168,15 +168,15 @@ configure_file(
|
||||
# install tree package config
|
||||
configure_package_config_file(
|
||||
|
12
glm.changes
12
glm.changes
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 29 08:39:39 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Update to 0.9.7.5
|
||||
* Added Visual C++ Clang toolset detection
|
||||
* Fixed uaddCarry warning #497
|
||||
* Fixed roundPowerOfTwo and floorPowerOfTwo #503
|
||||
* Fixed Visual C++ SIMD instruction set automatic detection in 64
|
||||
bits
|
||||
* Fixed to_string when used with GLM_FORCE_INLINE #506
|
||||
* Fixed GLM_FORCE_INLINE with binary vec4 operators
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 21 19:13:24 UTC 2016 - dmitry_r@opensuse.org
|
||||
|
||||
|
10
glm.spec
10
glm.spec
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: glm
|
||||
Version: 0.9.7.4
|
||||
Version: 0.9.7.5
|
||||
Release: 0
|
||||
Summary: Header only C++ mathematics library for graphics
|
||||
License: MIT
|
||||
@ -68,7 +68,7 @@ sed -i 's/\r//' copying.txt
|
||||
sed -i 's/\r//' readme.md
|
||||
sed -i 's/\r//' doc/api/doxygen.css
|
||||
sed -i 's/\r//' doc/api/tabs.css
|
||||
%ifarch %ix86
|
||||
%ifarch %{ix86}
|
||||
sed -i '/glmCreateTestGTC(core_func_exponential)/d' test/core/CMakeLists.txt
|
||||
# https://github.com/g-truc/glm/issues/212
|
||||
sed -i '/glmCreateTestGTC(gtc_packing)/d' test/gtc/CMakeLists.txt
|
||||
@ -80,12 +80,12 @@ sed -i '/glmCreateTestGTC(gtc_integer)/d' test/gtc/CMakeLists.txt
|
||||
sed -i '/glmCreateTestGTC(gtx_common)/d' test/gtx/CMakeLists.txt
|
||||
%endif
|
||||
%endif
|
||||
%patch1 -p1
|
||||
%patch1
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DCMAKE_CXX_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
||||
-DGLM_TEST_ENABLE=ON
|
||||
-DCMAKE_CXX_FLAGS="%{optflags} -fPIC -fno-strict-aliasing" \
|
||||
-DGLM_TEST_ENABLE=ON
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user