From b5c637702edf2a41738eb64671fc85ffb506a464 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Thu, 15 Jul 2021 15:45:14 +0200 Subject: [PATCH] DON'T USE -Sy --- arch-config/Dokumente/compiling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch-config/Dokumente/compiling.md b/arch-config/Dokumente/compiling.md index a2de29ca..0e41192c 100755 --- a/arch-config/Dokumente/compiling.md +++ b/arch-config/Dokumente/compiling.md @@ -1,6 +1,6 @@ # Compiling everything -Okay so first you need to install asp and git by typing sudo pacman -Sy asp git . +Okay so first you need to install asp and git by typing sudo pacman -S asp git . Then you need to create the CFlags by typing gcc -### -march=native /usr/include/stdlib.h and copy the output (everything from -march=whatevermatchesyourcpu) in your /etc/makepkg.conf for which you have to be root/sudo. I usually use -O3 and add -pipe -ftree-vectorize -fomit-frame-point -fopenmp at the end. The milage with the optimizations WILL vary and if you push it too hard things will break, run slower or show unexpected behaviour and not every package benefits equally from a highly optimized code.