FreeBSD Bugzilla – Attachment 212675 Details for
Bug 245032
databases/kyototycoon: Remove CPU-specific optimisation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
swap out native optimisation for O3
28bca9024e42d36d5096e3713fb36b943c01d95a.diff (text/plain), 1.15 KB, created by
Dave Cottlehuber
on 2020-03-24 09:34:02 UTC
(
hide
)
Description:
swap out native optimisation for O3
Filename:
MIME Type:
Creator:
Dave Cottlehuber
Created:
2020-03-24 09:34:02 UTC
Size:
1.15 KB
patch
obsolete
>diff --git a/databases/kyototycoon/Makefile b/databases/kyototycoon/Makefile >index a9e9acc9468da..6ce176a2dcf52 100644 >--- a/databases/kyototycoon/Makefile >+++ b/databases/kyototycoon/Makefile >@@ -3,7 +3,7 @@ > > PORTNAME= kyototycoon > PORTVERSION= 0.9.56 >-PORTREVISION= 5 >+PORTREVISION= 6 > CATEGORIES= databases > MASTER_SITES= https://fallabs.com/${PORTNAME}/pkg/ \ > LOCAL/sunpoet >diff --git a/databases/kyototycoon/files/patch-configure b/databases/kyototycoon/files/patch-configure >new file mode 100644 >index 0000000000000..2ac536c3a2ea9 >--- /dev/null >+++ b/databases/kyototycoon/files/patch-configure >@@ -0,0 +1,16 @@ >+--- configure.orig 2020-03-19 09:12:04 UTC >++++ configure >+@@ -3389,10 +3389,10 @@ fi >+ if test "$enable_opt" != "no" >+ then >+ printf 'checking for CPU optimization availability... ' >+- if printf 'main() {}' | $CC -xc -march=native -o config.tmp - >config.tmp 2>&1 >++ if printf 'main() {}' | $CC -xc -O3 -o config.tmp - >config.tmp 2>&1 >+ then >+- MYCFLAGS="-march=native $MYCFLAGS" >+- MYCXXFLAGS="-march=native $MYCXXFLAGS" >++ MYCFLAGS="-O3 $MYCFLAGS" >++ MYCXXFLAGS="-O3 $MYCXXFLAGS" >+ printf 'yes\n' >+ else >+ printf 'no\n'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 245032
: 212675