From 0d3dacc74782eef1abe2a6df0e5e7ff57ce0af3a Mon Sep 17 00:00:00 2001 From: semblanceofsense Date: Sat, 22 Mar 2025 11:03:24 -0600 Subject: [PATCH] Initial make.conf --- .gitignore | 10 ++++++++++ make.conf | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 .gitignore create mode 100644 make.conf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..10a7109 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +# Ignore everything +* + +# But not these files... +!.gitignore +!make.conf + +# ...even if they are in subdirectories +!*/ + diff --git a/make.conf b/make.conf new file mode 100644 index 0000000..f54d083 --- /dev/null +++ b/make.conf @@ -0,0 +1,51 @@ +# Wes' make.conf file +# Distributed under public domain or a public domain adjacent license if your country's retarded copyright laws don't support that + +# op-ti-mize [verb (trans.)]* … (gcc) to modify executable code so that it fails more quickly. +# gcc - the best argument for non-determinism ever + +# This sets the language of build output to English. +# Please keep this setting intact when reporting bugs. +LC_MESSAGES=C.utf8 + +# USE flags +USE="X" + +# Host Setting +CHOST="x86_64-pc-linux-gnu" + +# Nice-to-haves +# NOTE: This stage was built with the bindist USE flag enabled +COMMON_FLAGS="-O2 -pipe -Wall" + +# C Flags +CFLAGS="${COMMON_FLAGS} -march=native -mtune=native" +# C++ Flags +CXXFLAGS="${CFLAGS}" +# Fortran 77 Flags +FFLAGS="${CFLAGS}" +# Modern Fortran Flags +FCFLAGS="${FFLAGS}" + +# This may break my system, but oh well seems nice +ACCEPT_KEYWORDS="~amd64" + +# Number of Parallel Jobs (# of CPUs +1) +MAKEOPTS="-j17" + +# Useful Emerge Configs +EMERGE_DEFAULT_OPTS="--color y" + +# How priortized is package building by the CPU? (-20-19) +PORTAGE_NICENESS=19 +PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}" + +# Dear god please autoclean +AUTOCLEAN="yes" + +# Cool portage extensions +FEATURES="binpkg-logs buildpkg cgroup collision-protect downgrade-backup ipc-sandbox network-sandbox" +#Consider test-fail-continue in the future? + +# Alternative mirrors +GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo https://gentoo.ussg.indiana.edu/ https://gentoo.osuosl.org/ https://mirrors.rit.edu/gentoo/ https://mirror.sjc02.svwh.net/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/"