first commit

This commit is contained in:
GNUxeava 2022-07-08 13:04:54 +05:30
commit 5b7142cd46
9 changed files with 119 additions and 0 deletions

9
env/compiler-clang vendored Normal file
View file

@ -0,0 +1,9 @@
LDFLAGS="${LDFLAGS} -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed"
_HARDENING_FLAGS="-fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2"
CFLAGS="${CFLAGS} ${_HARDENING_FLAGS} -O2 -march=native -pipe"
CXXFLAGS="${CXXFLAGS} ${_HARDENING_FLAGS} -O2 -march=native -pipe"
LDFLAGS="${LDFLAGS} -Wl,-z,relro,-z,now -pie -unwindlib=libunwind"
CC="clang"
CXX="clang++"

9
env/compiler-clang-O0 vendored Normal file
View file

@ -0,0 +1,9 @@
LDFLAGS="${LDFLAGS} -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed"
_HARDENING_FLAGS="-fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2"
CFLAGS="${CFLAGS} ${_HARDENING_FLAGS} -O0 -march=native -pipe"
CXXFLAGS="${CXXFLAGS} ${_HARDENING_FLAGS} -O0 -march=native -pipe"
LDFLAGS="${LDFLAGS} -Wl,-z,relro,-z,now -pie -unwindlib=libunwind"
CC="clang"
CXX="clang++"

10
env/compiler-clang-lto vendored Normal file
View file

@ -0,0 +1,10 @@
CFLAGS="${CFLAGS} -flto -O2 -march=native -pipe"
CXXFLAGS="${CXXFLAGS} -flto -O2 -march=native -pipe"
LDFLAGS="{LDFLAGS} -Wl,-O2 -Wl,--as-needed"
CC="clang"
CXX="clang++"
AR="llvm-ar"
NM="llvm-nm"
RANLIB="llvm-ranlb"

8
env/compiler-gcc vendored Normal file
View file

@ -0,0 +1,8 @@
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CC="gcc"
CXX="g++"
AR="ar"
NM="nm"
RANLIB="ranlib"

8
env/compiler-gcc-lto vendored Normal file
View file

@ -0,0 +1,8 @@
CFLAGS="-flto=$N -march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CC="gcc"
CXX="g++"
AR="gcc-ar"
NM="gcc-nm"
RANLIB="gcc-ranlib"

35
make.conf Normal file
View file

@ -0,0 +1,35 @@
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe -flto"
CFLAGS="${CFLAGS} ${COMMON_FLAGS}"
CXXFLAGS="${CXXFLAGS} ${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j5"
CC="clang"
CXX="clang++"
AR="llvm-ar"
NM="llvm-nm"
RANLIB="llvm-ranlib"
CMAKE_MAKEFILE_GENERATOR="ninja"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
GENTOO_MIRRORS="http://mirrors.aliyun.com/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ ftp://ftp.fau.de/gentoo http://gentoo.osuosl.org/"
# License
ACCEPT_LICENSE="@FREE @EULA @BINARY-REDISTRIBUTABLE"
USE="clang X elogind -bluetooth -systemd savedconfig libinput"
INPUT_DEVICES="libinput"

14
package.env Normal file
View file

@ -0,0 +1,14 @@
sys-devel/llvm compiler-clang
sys-libs/libcxx compiler-clang
sys-libs/libcxxabi compiler-clang
sys-libs/compiler-rt compiler-clang
sys-libs/compiler-rt-sanitizers compiler-clang
sys-libs/llvm-libunwind compiler-clang
sys-devel/lld compiler-clang
sys-devel/clang compiler-clang
sys-auth/elogind compiler-gcc
dev-lang/python compiler-gcc
sys-kernel/gentoo-kernel-bin compiler-gcc
dev-libs/libgcrypt compiler-gcc
net-misc/x11-ssh-askpass compiler-gcc

7
package.use Normal file
View file

@ -0,0 +1,7 @@
sys-devel/clang default-compiler-rt default-lld llvm-libunwind
>=sys-auth/pambase-20210201.1 elogind
x11-base/xorg-server suid
>=dev-libs/libdbusmenu-16.04.0-r1 gtk3
>=net-dns/dnsmasq-2.85 script
>=net-misc/spice-gtk-0.39-r2 usbredir
app-emulation/qemu usbredir spice

19
repos.conf/gentoo.conf Normal file
View file

@ -0,0 +1,19 @@
[DEFAULT]
main-repo = gentoo
[gentoo]
location = /var/db/repos/gentoo
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
auto-sync = yes
sync-rsync-verify-jobs = 1
sync-rsync-verify-metamanifest = yes
sync-rsync-verify-max-age = 24
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-keyserver = hkps://keys.gentoo.org
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-overall-timeout = 1200
sync-openpgp-key-refresh-retry-delay-exp-base = 2
sync-openpgp-key-refresh-retry-delay-max = 60
sync-openpgp-key-refresh-retry-delay-mult = 4
sync-webrsync-verify-signature = yes