2022-03-17 18:47:28 +03:00
|
|
|
CUSTOM_PROFILE="yes"
|
|
|
|
|
|
|
|
CFLAGS="-O2 -pipe -march=native"
|
|
|
|
CXXFLAGS="${CFLAGS}"
|
|
|
|
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
|
|
|
|
|
|
|
|
CHOST="x86_64-pc-linux-gnu"
|
|
|
|
CBUILD="x86_64-pc-linux-gnu"
|
|
|
|
MAKEOPTS="-j2"
|
|
|
|
EMERGE_DEFAULT_OPTS="-j2"
|
|
|
|
|
|
|
|
PORTAGE_BZIP2_COMMAND="lbzip2"
|
|
|
|
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
|
|
|
|
PORTDIR=/var/portage/portage
|
|
|
|
LOCALDIR="/var/portage/local"
|
|
|
|
DISTDIR="/var/portage/distfiles"
|
|
|
|
PKGDIR="/var/portage/packages"
|
|
|
|
PORTAGE_TMPDIR="/var/tmp/portage"
|
|
|
|
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
|
|
|
|
|
|
|
|
ACCEPT_KEYWORDS="amd64"
|
|
|
|
ACCEPT_LICENSE="*"
|
|
|
|
|
|
|
|
VIDEO_CARDS=""
|
|
|
|
INPUT_DEVICES=""
|
|
|
|
|
|
|
|
FEATURES="ccache parallel-fetch collision-protect sandbox candy metadata-transfer preserve-libs"
|
|
|
|
|
|
|
|
CCACHE_SIZE="8G"
|
|
|
|
CCACHE_DIR="/var/tmp/ccache"
|
|
|
|
PORTAGE_NICENESS="19"
|
|
|
|
PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
|
|
|
|
|
|
|
|
PORTAGE_ELOG_CLASSES="warn error log"
|
|
|
|
PORTAGE_ELOG_SYSTEM="save"
|
|
|
|
|
|
|
|
ABI_X86="64"
|
|
|
|
|
2022-08-01 15:05:18 +03:00
|
|
|
PYTHON_TARGETS="$PYTHON_TARGETS python3_9 python3_10"
|
2022-03-20 05:25:06 +03:00
|
|
|
PYTHON_SINGLE_TARGET="-python3_8 -python3_9 python3_10"
|
2022-03-17 18:47:28 +03:00
|
|
|
|
|
|
|
# cpu
|
|
|
|
USE="${USE} custom-cflags mpi smp"
|
|
|
|
|
2022-04-15 11:35:36 +03:00
|
|
|
# optimizations
|
|
|
|
USE="${USE} pgo"
|
|
|
|
|
2022-03-17 18:47:28 +03:00
|
|
|
# develop
|
|
|
|
USE="${USE} -debug -mono pch vim-syntax"
|
|
|
|
|
2022-03-17 19:14:02 +03:00
|
|
|
# networking
|
|
|
|
USE="${USE} -ipv6"
|
|
|
|
|
2022-03-17 18:47:28 +03:00
|
|
|
# other
|
|
|
|
USE="${USE} threads"
|