summaryrefslogtreecommitdiff
path: root/conf/intel/portage/env
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-12-03 03:21:05 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-12-03 03:21:05 +0200
commit81900ddf398dba3915b748f6adc729a8aa902ae0 (patch)
treef42c2a66e49d5d2246fa8dd091e3e0b35dd586de /conf/intel/portage/env
parent58ae5bbf25835bd30fa385275ff4486dbc31f0a2 (diff)
Making our Kogaion configs public
Diffstat (limited to 'conf/intel/portage/env')
-rw-r--r--conf/intel/portage/env/O3.amd64.conf5
-rw-r--r--conf/intel/portage/env/O3.amd64.notest.conf5
-rw-r--r--conf/intel/portage/env/O3.x86.conf5
-rw-r--r--conf/intel/portage/env/apache.conf6
-rw-r--r--conf/intel/portage/env/damn.sse.conf3
-rw-r--r--conf/intel/portage/env/dev-lang/python7
-rw-r--r--conf/intel/portage/env/disable.debug+userpriv.conf1
-rw-r--r--conf/intel/portage/env/disable.debug.conf1
-rw-r--r--conf/intel/portage/env/disable.userpriv.conf1
-rw-r--r--conf/intel/portage/env/ggdb.amd64.conf2
-rw-r--r--conf/intel/portage/env/ggdb.x86.conf2
-rw-r--r--conf/intel/portage/env/gnome-extra/nm-applet14
-rw-r--r--conf/intel/portage/env/hardened.conf2
-rw-r--r--conf/intel/portage/env/linguas-en.conf1
-rw-r--r--conf/intel/portage/env/nographite.amd64.conf8
-rw-r--r--conf/intel/portage/env/nographite.x86.conf8
-rw-r--r--conf/intel/portage/env/sys-boot/grub11
-rw-r--r--conf/intel/portage/env/www-servers/apache14
18 files changed, 96 insertions, 0 deletions
diff --git a/conf/intel/portage/env/O3.amd64.conf b/conf/intel/portage/env/O3.amd64.conf
new file mode 100644
index 0000000..90787c5
--- /dev/null
+++ b/conf/intel/portage/env/O3.amd64.conf
@@ -0,0 +1,5 @@
+# Set -O3 for perf. critical packages
+FEATURES="test compressdebug splitdebug"
+CFLAGS="-O3 -march=x86-64 -pipe ${GRAPHITE}"
+#CFLAGS="-O3 -ffast-math -march=x86-64 -pipe ${GRAPHITE}"
+CXXFLAGS="${CFLAGS}"
diff --git a/conf/intel/portage/env/O3.amd64.notest.conf b/conf/intel/portage/env/O3.amd64.notest.conf
new file mode 100644
index 0000000..52b5a87
--- /dev/null
+++ b/conf/intel/portage/env/O3.amd64.notest.conf
@@ -0,0 +1,5 @@
+# Set -O3 for perf. critical packages
+FEATURES="compressdebug splitdebug"
+CFLAGS="-O3 -march=x86-64 -pipe ${GRAPHITE}"
+#CFLAGS="-O3 -ffast-math -march=x86-64 -pipe ${GRAPHITE}"
+CXXFLAGS="${CFLAGS}"
diff --git a/conf/intel/portage/env/O3.x86.conf b/conf/intel/portage/env/O3.x86.conf
new file mode 100644
index 0000000..7b2e009
--- /dev/null
+++ b/conf/intel/portage/env/O3.x86.conf
@@ -0,0 +1,5 @@
+# Set -O3 for perf. critical packages
+FEATURES="test compressdebug splitdebug"
+CFLAGS="-O3 -march=i686 -pipe ${GRAPHITE}"
+#CFLAGS="-O3 -ffast-math -march=i686 -pipe ${GRAPHITE}"
+CXXFLAGS="${CFLAGS}"
diff --git a/conf/intel/portage/env/apache.conf b/conf/intel/portage/env/apache.conf
new file mode 100644
index 0000000..4b9c57c
--- /dev/null
+++ b/conf/intel/portage/env/apache.conf
@@ -0,0 +1,6 @@
+# On i686, CFLAGS=-O2 causes runtime failures
+# http://bugs.sabayon.org/show_bug.cgi?id=2725
+# http://bugs.sabayon.org/show_bug.cgi?id=2824
+# Do not set -march !
+CFLAGS="-O1 -pipe"
+CXXFLAGS="${CFLAGS}"
diff --git a/conf/intel/portage/env/damn.sse.conf b/conf/intel/portage/env/damn.sse.conf
new file mode 100644
index 0000000..2ee02e7
--- /dev/null
+++ b/conf/intel/portage/env/damn.sse.conf
@@ -0,0 +1,3 @@
+# Damn x86 packages requiring SSE
+CFLAGS="-O2 -march=i686 -msse -msse2 ${GRAPHITE}"
+CXXFLAGS="${CFLAGS}"
diff --git a/conf/intel/portage/env/dev-lang/python b/conf/intel/portage/env/dev-lang/python
new file mode 100644
index 0000000..27cae24
--- /dev/null
+++ b/conf/intel/portage/env/dev-lang/python
@@ -0,0 +1,7 @@
+# Disable PIE, because it seems to cause
+# Segmentation faults with guake.
+# See Sabayon bug #3599
+echo "* Disabling PIE as per bug 3599"
+GCC_SPECS=$(gcc-config -L | cut -d":" -f1)/hardenednopiessp.specs
+echo "* Setting GCC_SPECS to ${GCC_SPECS}"
+export GCC_SPECS
diff --git a/conf/intel/portage/env/disable.debug+userpriv.conf b/conf/intel/portage/env/disable.debug+userpriv.conf
new file mode 100644
index 0000000..f3fe9c6
--- /dev/null
+++ b/conf/intel/portage/env/disable.debug+userpriv.conf
@@ -0,0 +1 @@
+FEATURES="parallel-fetch protect-owned -debug -compressdebug -splitdebug -userpriv"
diff --git a/conf/intel/portage/env/disable.debug.conf b/conf/intel/portage/env/disable.debug.conf
new file mode 100644
index 0000000..610b188
--- /dev/null
+++ b/conf/intel/portage/env/disable.debug.conf
@@ -0,0 +1 @@
+FEATURES="parallel-fetch protect-owned -debug -compressdebug -splitdebug"
diff --git a/conf/intel/portage/env/disable.userpriv.conf b/conf/intel/portage/env/disable.userpriv.conf
new file mode 100644
index 0000000..acacbdb
--- /dev/null
+++ b/conf/intel/portage/env/disable.userpriv.conf
@@ -0,0 +1 @@
+FEATURES="parallel-fetch protect-owned -userpriv"
diff --git a/conf/intel/portage/env/ggdb.amd64.conf b/conf/intel/portage/env/ggdb.amd64.conf
new file mode 100644
index 0000000..ab79c15
--- /dev/null
+++ b/conf/intel/portage/env/ggdb.amd64.conf
@@ -0,0 +1,2 @@
+CFLAGS="-O2 -march=x86-64 -pipe -ggdb"
+CXXFLAGS="${CFLAGS}"
diff --git a/conf/intel/portage/env/ggdb.x86.conf b/conf/intel/portage/env/ggdb.x86.conf
new file mode 100644
index 0000000..42b2ca8
--- /dev/null
+++ b/conf/intel/portage/env/ggdb.x86.conf
@@ -0,0 +1,2 @@
+CFLAGS="-O2 -march=i686 -pipe -ggdb"
+CXXFLAGS="${CFLAGS}"
diff --git a/conf/intel/portage/env/gnome-extra/nm-applet b/conf/intel/portage/env/gnome-extra/nm-applet
new file mode 100644
index 0000000..7468a6d
--- /dev/null
+++ b/conf/intel/portage/env/gnome-extra/nm-applet
@@ -0,0 +1,14 @@
+if [ "${EBUILD_PHASE}" = "install" ]; then
+ elog
+ elog "Entropy administration information:"
+ elog
+ elog "~~~ READ THIS CAREFULLY ~~~"
+ elog "if you are bumping gnome-extra/nm-applet"
+ elog "please also bump the Entropy injected version"
+ elog "for GTK2 this way:"
+ elog "emerge -B nm-applet-gtk2 && \\"
+ elog "eit inject /usr/portage/packages/gnome-extra/nm-applet-gtk2*"
+ elog
+ elog "~~~ READ THIS CAREFULLY ~~~"
+ elog
+fi
diff --git a/conf/intel/portage/env/hardened.conf b/conf/intel/portage/env/hardened.conf
new file mode 100644
index 0000000..f4492b3
--- /dev/null
+++ b/conf/intel/portage/env/hardened.conf
@@ -0,0 +1,2 @@
+# This configuration assumes the default profile is -vanilla
+GCC_SPECS=""
diff --git a/conf/intel/portage/env/linguas-en.conf b/conf/intel/portage/env/linguas-en.conf
new file mode 100644
index 0000000..b8a76e0
--- /dev/null
+++ b/conf/intel/portage/env/linguas-en.conf
@@ -0,0 +1 @@
+LINGUAS="en"
diff --git a/conf/intel/portage/env/nographite.amd64.conf b/conf/intel/portage/env/nographite.amd64.conf
new file mode 100644
index 0000000..d0ce28d
--- /dev/null
+++ b/conf/intel/portage/env/nographite.amd64.conf
@@ -0,0 +1,8 @@
+# this configuration sets default compilation options for
+# packages that don't need / don't compile with graphite on
+# AMD64 architecture.
+# Note that on GCC versions older than 4.5 using graphite is not
+# recommended, due to its instability.
+
+CFLAGS="-O2 -ftree-vectorize -march=x86-64 -pipe"
+CXXFLAGS="${CFLAGS}"
diff --git a/conf/intel/portage/env/nographite.x86.conf b/conf/intel/portage/env/nographite.x86.conf
new file mode 100644
index 0000000..b7d3e88
--- /dev/null
+++ b/conf/intel/portage/env/nographite.x86.conf
@@ -0,0 +1,8 @@
+# this configuration sets default compilation options for
+# packages that don't need / don't compile with graphite on
+# x86 architecture.
+# Note that on GCC versions older than 4.5 using graphite is not
+# recommended, due to its instability.
+
+CFLAGS="-O2 -ftree-vectorize -march=i686 -pipe"
+CXXFLAGS="${CFLAGS}"
diff --git a/conf/intel/portage/env/sys-boot/grub b/conf/intel/portage/env/sys-boot/grub
new file mode 100644
index 0000000..7d277cf
--- /dev/null
+++ b/conf/intel/portage/env/sys-boot/grub
@@ -0,0 +1,11 @@
+if [ "${EBUILD_PHASE}" = "install" ]; then
+ elog
+ elog "Entropy administration information:"
+ elog
+ elog "~~~ READ THIS CAREFULLY ~~~"
+ elog "if you are bumping sys-boot/grub:0"
+ elog "please MAKE SURE to compile it with gcc-4.4."
+ elog "Later GCC versions could cause runtime failures"
+ elog "~~~ READ THIS CAREFULLY ~~~"
+ elog
+fi
diff --git a/conf/intel/portage/env/www-servers/apache b/conf/intel/portage/env/www-servers/apache
new file mode 100644
index 0000000..004d976
--- /dev/null
+++ b/conf/intel/portage/env/www-servers/apache
@@ -0,0 +1,14 @@
+if [ "${EBUILD_PHASE}" = "install" ]; then
+ elog
+ elog "Entropy administration information:"
+ elog
+ elog "~~~ READ THIS CAREFULLY ~~~"
+ elog "if you are bumping www-servers/apache"
+ elog "please also bump the Entropy tagged version"
+ elog "containing the worker MPM, this way:"
+ elog "USE=\"threads\" APACHE2_MPMS=\"worker\" emerge -B apache && \\"
+ elog "ENTROPY_PROJECT_TAG=\"worker\" eit inject /usr/portage/packages/www-servers/apache*"
+ elog
+ elog "~~~ READ THIS CAREFULLY ~~~"
+ elog
+fi