Skip to content

Commit

Permalink
dev-cpp/eigen: remove cpu_flags_x86* flags
Browse files Browse the repository at this point in the history
These flags only affected tests, and only added the appropriate flags to CFLAGS.

Closes: https://bugs.gentoo.org/633518
Package-Manager: Portage-2.3.8, Repoman-2.3.3
  • Loading branch information
kensington committed Oct 23, 2017
1 parent 3177608 commit ce48aa6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
12 changes: 0 additions & 12 deletions dev-cpp/eigen/eigen-3.3.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ SLOT="3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="altivec c++11 cuda debug doc neon openmp test" #zvector vsx

IUSE_CPU_FLAGS=" avx avx2 f16c fma3 sse2 sse3 sse4_1 sse4_2 ssse3" #x87
IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"

RDEPEND="!dev-cpp/eigen:0"
DEPEND="
doc? ( app-doc/doxygen[dot,latex] )
Expand Down Expand Up @@ -84,16 +81,7 @@ src_test() {
-DEIGEN_TEST_CXX11="$(usex c++11)"
-DEIGEN_TEST_CUDA="$(usex cuda)"
-DEIGEN_TEST_OPENMP="$(usex openmp)"
-DEIGEN_TEST_AVX="$(usex cpu_flags_x86_avx)"
-DEIGEN_TEST_AVX512="$(usex cpu_flags_x86_avx2)"
-DEIGEN_TEST_F16C="$(usex cpu_flags_x86_f16c)"
-DEIGEN_TEST_FMA="$(usex cpu_flags_x86_fma3)"
-DEIGEN_TEST_SSE3="$(usex cpu_flags_x86_sse3)"
-DEIGEN_TEST_SSE4_1="$(usex cpu_flags_x86_sse4_1)"
-DEIGEN_TEST_SSE4_2="$(usex cpu_flags_x86_sse4_2)"
-DEIGEN_TEST_SSSE3="$(usex cpu_flags_x86_ssse3)"
-DEIGEN_TEST_NEON64="$(usex neon)"
# -DEIGEN_TEST_X87="$(usex cpu_flags_x86_x87)"
)
cmake-utils_src_configure
cmake-utils_src_compile blas
Expand Down
1 change: 0 additions & 1 deletion dev-cpp/eigen/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<use>
<flag name="c++11">Build using the C++11 standard</flag>
<flag name="cuda">Build with cuda support</flag>
<flag name="cpu_flags_x86_f16c">Take advantage of CPU feature f16c</flag>
</use>
<upstream>
<remote-id type="bitbucket">eigen/eigen</remote-id>
Expand Down

0 comments on commit ce48aa6

Please sign in to comment.