* [PR PATCH] rawtherapee: enable sse2 and LTO
@ 2024-04-23 19:20 Calandracas606
0 siblings, 0 replies; only message in thread
From: Calandracas606 @ 2024-04-23 19:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1337 bytes --]
There is a new pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages rawtherapee-optimize
https://github.com/void-linux/void-packages/pull/50007
rawtherapee: enable sse2 and LTO
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (cross)
- aarch64-musl (cross)
- armv7l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/50007.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rawtherapee-optimize-50007.patch --]
[-- Type: text/x-diff, Size: 1546 bytes --]
From bc3bb34c286b0f1522353ff7f307d944c4033da1 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Tue, 23 Apr 2024 15:18:27 -0400
Subject: [PATCH] rawtherapee: enable sse2 and LTO
---
srcpkgs/rawtherapee/template | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/rawtherapee/template b/srcpkgs/rawtherapee/template
index d60821a1d1c8d7..8732e39b4fcf78 100644
--- a/srcpkgs/rawtherapee/template
+++ b/srcpkgs/rawtherapee/template
@@ -1,13 +1,15 @@
# Template file for 'rawtherapee'
pkgname=rawtherapee
version=5.10
-revision=1
+revision=2
build_style=cmake
-configure_args="-DCACHE_NAME_SUFFIX=\"\""
+configure_args="-DCACHE_NAME_SUFFIX=\"\"
+ -DWITH_LTO=ON
+ -DENABLE_TCMALLOC=ON"
hostmakedepends="pkg-config"
makedepends="fftw-devel gtkmm-devel lensfun-devel
libcanberra-devel libgomp-devel libiptcdata-devel librsvg-devel
- exiv2-devel"
+ exiv2-devel gperftools-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Free RAW converter and digital photo processing software"
maintainer="Daniel Martinez <danielmartinez@cock.li>"
@@ -17,5 +19,9 @@ changelog="https://github.com/Beep6581/RawTherapee/blob/${version}/RELEASE_NOTES
distfiles="https://rawtherapee.com/shared/source/rawtherapee-${version}.tar.xz"
checksum=a799b53cd54dba4a211479e342ffc9c5db1c44d3d6c3a27d5cc13adf0debd2da
-CFLAGS="-O3"
-CXXFLAGS="-O3"
+case "$XBPS_TARGET_MACHINE" in
+ i686*|x86_64*) configure_args+=" -DHAVE_X86_SSE_MATH=ON"
+esac
+
+CFLAGS+=" -O3"
+CXXFLAGS+=" -O3"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-23 19:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-23 19:20 [PR PATCH] rawtherapee: enable sse2 and LTO Calandracas606
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).