Skip to content

Commit 99ad2fb

Browse files
committedAug 22, 2024
gentoo added portage configuration files
[skip ci]
1 parent 652e2a3 commit 99ad2fb

31 files changed

+66
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Portage configuration
2+
3+
You can inspire from these configuration files, I'm using them on my development machine.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FEATURES="ccache"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# See https://wiki.gentoo.org/wiki/Valgrind#Troubleshooting
2+
CFLAGS="${CFLAGS} -ggdb"
3+
CXXFLAGS="${CXXFLAGS} -ggdb"
4+
FEATURES="${FEATURES} splitdebug compressdebug -nostrip"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# See https://wiki.gentoo.org/wiki/GDB#Retain_debug_symbols
2+
FEATURES="${FEATURES} installsources"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
LTO="-flto=auto -fno-fat-lto-objects"
2+
CFLAGS="${CFLAGS} ${LTO}"
3+
CXXFLAGS="${CXXFLAGS} ${LTO}"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dev-util/ccache ~amd64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Use the latest Clang 😎
2+
sys-devel/llvm* ~amd64
3+
sys-devel/clang* ~amd64
4+
sys-libs/compiler-rt* ~amd64
5+
sys-libs/libomp ~amd64
6+
dev-debug/lldb ~amd64
7+
sys-devel/lld ~amd64
8+
sys-devel/lld-toolchain-symlinks ~amd64
9+
dev-python/lid ~amd64
10+
sys-libs/libcxx ~amd64
11+
sys-libs/libcxxabi ~amd64
12+
sys-libs/llvm-libunwind ~amd64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dev-build/cmake ~amd64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
app-eselect/eselect-pwsh ~amd64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sys-devel/gcc ~amd64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sys-devel/gcc-config ~amd64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dev-db/mariadb-connector-c ~amd64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sys-devel/mold ~amd64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dev-db/mysql-connector-c ~amd64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dev-db/postgresql ~amd64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
app-shells/pwsh-bin ~amd64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dev-db/tinyorm ~amd64
2+
dev-cpp/tabulate ~amd64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
app-editors/vscode ~amd64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sys-libs/glibc debugsyms installsources
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dev-db/tinyorm ccache
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Enable the gold linker
2+
sys-devel/binutils gold
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dev-util/ccache doc
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
sys-devel/clang doc
2+
# clang <15 set flags on sys-devel/clang package
3+
<sys-devel/clang-15 default-lld llvm-libunwind default-compiler-rt
4+
# from clang 15 it was extracted to the sys-devel/clang-common
5+
>=sys-devel/clang-common-15 default-lld llvm-libunwind default-compiler-rt
6+
# required by sys-devel/clang-common-15.0.7-r3::gentoo[llvm-libunwind,default-compiler-rt]
7+
# required by sys-devel/clang-15.0.7-r1::gentoo
8+
# required by @selected
9+
# required by @world (argument)
10+
>=sys-libs/llvm-libunwind-15.0.7 static-libs
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dev-db/mysql -server -perl
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dev-db/mysql-connector-c static-libs
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dev-db/postgresql -server
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dev-qt/qtbase dbus mysql postgres -cups -gtk -libinput -libproxy -nls -udev
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dev-qt/qtsql postgres -debug
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dev-db/tinyorm lto mysql postgres sqlite mysql-ping tom tom-cli
2+
# The sqlite use flag is ON by default so -sqlite is needed, postgres isn't ON by default
3+
# dev-db/tinyorm build-drivers lto mysql -sqlite
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Unmask the gold USE flag
2+
sys-devel/binutils -gold
3+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[crystal]
2+
location = /var/db/repos/crystal

0 commit comments

Comments
 (0)
Please sign in to comment.