From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D795D138334 for ; Wed, 6 Mar 2019 19:46:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 189A8E09CC; Wed, 6 Mar 2019 19:46:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CC257E09CC for ; Wed, 6 Mar 2019 19:46:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 747F7335CFF for ; Wed, 6 Mar 2019 19:46:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14B4C54F for ; Wed, 6 Mar 2019 19:46:39 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1551901589.c5c19f7820c56475a0b0b3ee84f913f235949a87.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glm/, media-libs/glm/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/glm/files/glm-0.9.9.2-avx.patch media-libs/glm/glm-0.9.9.2.ebuild X-VCS-Directories: media-libs/glm/ media-libs/glm/files/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: c5c19f7820c56475a0b0b3ee84f913f235949a87 X-VCS-Branch: master Date: Wed, 6 Mar 2019 19:46:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ceedc63a-60e6-4eef-818a-63fbb2628a72 X-Archives-Hash: caccc833b5961be14ea49740f274bf1c commit: c5c19f7820c56475a0b0b3ee84f913f235949a87 Author: Tupone Alfredo gentoo org> AuthorDate: Wed Mar 6 19:45:56 2019 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Wed Mar 6 19:46:29 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5c19f78 media-libs/glm: Disable avx. Remove failing test. Closes: https://bugs.gentoo.org/669638 Signed-off-by: Alfredo Tupone gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 media-libs/glm/files/glm-0.9.9.2-avx.patch | 30 ++++++++++++++++++++++++++++++ media-libs/glm/glm-0.9.9.2.ebuild | 4 +++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/media-libs/glm/files/glm-0.9.9.2-avx.patch b/media-libs/glm/files/glm-0.9.9.2-avx.patch new file mode 100644 index 00000000000..87d8c5bd598 --- /dev/null +++ b/media-libs/glm/files/glm-0.9.9.2-avx.patch @@ -0,0 +1,30 @@ +--- a/glm/simd/platform.h 2019-03-06 18:57:53.309630574 +0100 ++++ b/glm/simd/platform.h 2019-03-06 18:58:30.796988006 +0100 +@@ -233,7 +233,7 @@ + #define GLM_ARCH_SSSE3_BIT (0x00000010) + #define GLM_ARCH_SSE41_BIT (0x00000020) + #define GLM_ARCH_SSE42_BIT (0x00000040) +-#define GLM_ARCH_AVX_BIT (0x00000080) ++#define GLM_ARCH_AVX_BIT (0x00000000) + #define GLM_ARCH_AVX2_BIT (0x00000100) + + #define GLM_ARCH_UNKNOWN (0) +--- a/CMakeLists.txt 2019-03-06 19:27:14.052353176 +0100 ++++ b/CMakeLists.txt 2019-03-06 19:27:05.161503895 +0100 +@@ -203,7 +203,6 @@ + message("GLM: GCC - ${CMAKE_CXX_COMPILER_ID} compiler") + endif() + +- add_compile_options(-O2) + add_compile_options(-Wno-long-long) + + elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel") +--- a/test/perf/CMakeLists.txt 2019-03-06 20:32:35.172976526 +0100 ++++ b/test/perf/CMakeLists.txt 2019-03-06 20:33:04.138486121 +0100 +@@ -1,6 +1,4 @@ +-glmCreateTestGTC(perf_matrix_div) + glmCreateTestGTC(perf_matrix_inverse) + glmCreateTestGTC(perf_matrix_mul) +-glmCreateTestGTC(perf_matrix_mul_vector) + glmCreateTestGTC(perf_matrix_transpose) + glmCreateTestGTC(perf_vector_mul_matrix) diff --git a/media-libs/glm/glm-0.9.9.2.ebuild b/media-libs/glm/glm-0.9.9.2.ebuild index 8f93505e327..cb748d8c62e 100644 --- a/media-libs/glm/glm-0.9.9.2.ebuild +++ b/media-libs/glm/glm-0.9.9.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -16,6 +16,8 @@ IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx cpu_flags_x86 RDEPEND="virtual/opengl" +PATCHES=( "${FILESDIR}"/${P}-avx.patch ) + src_configure() { if use test; then local mycmakeargs=(