mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-cpp/xsimd: avoid unnecessary test compilation during src_install
Signed-off-by: Kamal Abdellatif <gentoo.kamal@tgf.pw>
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
# required because of manual install in src_install
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit cmake python-any-r1
|
||||
@@ -57,3 +60,11 @@ src_compile() {
|
||||
src_test() {
|
||||
cmake_src_compile xtest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Default install target depends on tests with USE=test enabled.
|
||||
# However, this is a header-only library.
|
||||
DESTDIR="${D}" cmake_build install/fast "$@"
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user