aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2019-10-30 12:18:42 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2019-10-30 12:18:42 +0300
commit2d55f94767c7b0747b390b9f681167ba68d8f752 (patch)
treef6f7e2601b3564aa368f5f138d8ddd99e148da2f /sci-chemistry/relion
parentsci-chemistry/relion: Fix altcpu with cuda (diff)
downloadsci-2d55f94767c7b0747b390b9f681167ba68d8f752.tar.gz
sci-2d55f94767c7b0747b390b9f681167ba68d8f752.tar.bz2
sci-2d55f94767c7b0747b390b9f681167ba68d8f752.zip
sci-chemistry/relion: Set build type to release
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'sci-chemistry/relion')
-rw-r--r--sci-chemistry/relion/relion-3.0.8.ebuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/sci-chemistry/relion/relion-3.0.8.ebuild b/sci-chemistry/relion/relion-3.0.8.ebuild
index 2f88a8ef9..178b8249c 100644
--- a/sci-chemistry/relion/relion-3.0.8.ebuild
+++ b/sci-chemistry/relion/relion-3.0.8.ebuild
@@ -29,13 +29,8 @@ RDEPEND="
"
BDEPEND="${DEPEND}"
-src_prepare() {
- # hack build type =D
- sed 's:release:gentoo:g' -i CMakeLists.txt
- cmake-utils_src_prepare
-}
-
src_configure() {
+ CMAKE_BUILD_TYPE=Release
mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
-DALTCPU=$(usex !cuda)