All Projects → h0tc0d3 → arch-packages

h0tc0d3 / arch-packages

Licence: Apache-2.0 License
Arch Linux performance important packages

Programming Languages

shell
77523 projects
C++
36643 projects - #6 most used programming language
Roff
2310 projects
python
139335 projects - #7 most used programming language
perl
6916 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to arch-packages

hmg
💝 My personal Gentoo/Linux configuration backup files
Stars: ✭ 16 (-40.74%)
Mutual labels:  optimization, llvm, clang
arch-pkgs
Management repo for my Arch Linux systems. Mirror of https://gitlab.com/mdaffin/arch-pkgs
Stars: ✭ 79 (+192.59%)
Mutual labels:  archlinux, arch
open-ops
Open Optimizing Parallelizing System
Stars: ✭ 21 (-22.22%)
Mutual labels:  llvm, clang
CastXMLSuperbuild
Build CastXML and its dependencies (LLVM/Clang)
Stars: ✭ 32 (+18.52%)
Mutual labels:  llvm, clang
OS-CFI
Origin-sensitive Control Flow Integrity (OS-CFI) - USENIX Security 2019
Stars: ✭ 27 (+0%)
Mutual labels:  llvm, clang
systemc-compiler
This tool translates synthesizable SystemC code to synthesizable SystemVerilog.
Stars: ✭ 128 (+374.07%)
Mutual labels:  llvm, clang
CFI-LB
Adaptive Callsite-sensitive Control Flow Integrity - EuroS&P'19
Stars: ✭ 13 (-51.85%)
Mutual labels:  llvm, clang
arch-pi
A simple script automatically installing Arch Linux for the Raspberry Pi.
Stars: ✭ 38 (+40.74%)
Mutual labels:  archlinux, arch
PKGBUILD
PKGBUILDs; almost all on the AUR
Stars: ✭ 16 (-40.74%)
Mutual labels:  archlinux, arch
opencilk-project
Monorepo for the OpenCilk compiler, forked from llvm/llvm-project. See the OpenCilk/infrastructure repository for build and installation instructions.
Stars: ✭ 42 (+55.56%)
Mutual labels:  llvm, clang
lldbg
A lightweight native GUI for LLDB.
Stars: ✭ 83 (+207.41%)
Mutual labels:  llvm, clang
CMLFS
Clang-Built Musl Linux From Scratch
Stars: ✭ 51 (+88.89%)
Mutual labels:  llvm, clang
Calinix-Arch
CalinixOS Linux Distribution ISO Profiles
Stars: ✭ 42 (+55.56%)
Mutual labels:  archlinux, arch
Chromium Clang
Chromium browser compiled with the Clang/LLVM compiler.
Stars: ✭ 77 (+185.19%)
Mutual labels:  llvm, clang
lsif-clang
Language Server Indexing Format (LSIF) generator for C, C++ and Objective C
Stars: ✭ 28 (+3.7%)
Mutual labels:  llvm, clang
AwsTerm
A collection of awesome terminal utilities
Stars: ✭ 37 (+37.04%)
Mutual labels:  archlinux, arch
adorad
Fast, Expressive, & High-Performance Programming Language for those who dare
Stars: ✭ 54 (+100%)
Mutual labels:  llvm, clang
los
Los是一个c/c++语言编译型的虚拟机。它使用llvm/clang作为其前端,losld做后端对源代码进行编译,生成los指令文件。Los is a c/c++-compiled virtual machine. It uses llvm/clang as its front end, losld does the backend to compile the source code, and generates the los directive file.
Stars: ✭ 46 (+70.37%)
Mutual labels:  llvm, clang
proton-clang-build
A set of scripts to build optimized LLVM and binutils toolchains. See https://github.com/kdrag0n/proton-clang for prebuilts.
Stars: ✭ 30 (+11.11%)
Mutual labels:  llvm, clang
stack-guard
A toy implementation of 'Stack Guard' on top of the LLVM compiler toolchain
Stars: ✭ 21 (-22.22%)
Mutual labels:  llvm, clang

Arch Linux performance important packages

We open official packages repository: Arch Linux Club

All packages optimized for build with LLVM and Clang.

SELinux

For SELinux install packages:

pacman -Syu \
    psmisc+clang findutils+clang iproute2+clang libsepol+clang libselinux+clang \
    libsemanage+clang checkpolicy+clang secilc+clang policycoreutils+clang \
    pambase+clang sudo+clang coreutils+clang shadow+clang openssh+clang \
    mcstrans+clang dbus-glib+clang restorecond+clang setools+clang \
    selinux-python+clang selinux-dbus+clang python-gobject+clang \
    selinux-gui+clang selinux-sandbox+clang setroubleshoot+clang

Take care, SELinux packages not include logrotate, cronie, setroubleshoot packages. setroubleshoot having bugs and not working on Arch Linux. logrotate, cronie you have to build with --with-selinux flag.

SELinux reference policy installation

Edit /etc/selinux/config and replace SELINUX=disabled to SELINUX=permissive.

git clone https://github.com/SELinuxProject/refpolicy.git
cd refpolicy
su
make bare

Edit build.conf and replace #DISTRO = redhat to DISTRO = arch, SYSTEMD = n to SYSTEMD = y.

make conf
make install
make load

reboot

su
restorecon -r /

Compare package version from this repo and Arch Linux official

For compare use script: ./check

It's helps to fast find changes of packages and faster update them in this repo. On right side this repo package version and on left side arch linux package version.

[+] zstd 1.5.0-1
[+] libpng 1.6.37-3
[+] libjpeg-turbo 2.1.0-1
[+] mesa 21.1.2-1
[+] pixman 0.40.0-1
[-] glib2 2.68.3-1 -> 2.68.2-1
[+] gtk2 2.24.33-2
[+] gtk3 1:3.24.29-2
[+] gtk4 1:4.2.1-2
[+] qt5-base 5.15.2+kde+r196-1
[+] icu 69.1-1
[+] freetype2 2.10.4-1
[+] pango 1:1.48.5-1
[+] fontconfig 2:2.13.93-4
[+] harfbuzz 2.8.1-1
[+] cairo 1.17.4-5
[+] wayland-protocols 1.21-1
[+] egl-wayland 1.1.7-1
[+] xorg-server 1.20.11-1
[+] xorgproto 2021.4-1
[+] xorg-xauth 1.1-2
[+] xorg-util-macros 1.19.3-1
[+] xorg-xkbcomp 1.4.5-1
[+] xorg-setxkbmap 1.3.2-2
[+] kwin 5.22.0-1
[+] plasma-workspace 5.22.0-2
[+] glibc 2.33-5

Before build packages install pacman -Syu llvm llvm-libs clang lld libclc and edit yours /etc/makepkg.conf and remove debug flags -fvar-tracking-assignments, add strings:

export CC=clang
export CXX=clang++
export CC_LD=lld
export CXX_LD=lld
export AR=llvm-ar
export NM=llvm-nm
export STRIP=llvm-strip
export OBJCOPY=llvm-objcopy
export OBJDUMP=llvm-objdump
export READELF=llvm-readelf
export RANLIB=llvm-ranlib
export HOSTCC=clang
export HOSTCXX=clang++
export HOSTAR=llvm-ar

Yours /etc/makepkg.conf can be like this:

CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

export CC=clang
export CXX=clang++
export CC_LD=lld
export CXX_LD=lld
export AR=llvm-ar
export NM=llvm-nm
export STRIP=llvm-strip
export OBJCOPY=llvm-objcopy
export OBJDUMP=llvm-objdump
export READELF=llvm-readelf
export RANLIB=llvm-ranlib
export HOSTCC=clang
export HOSTCXX=clang++
export HOSTAR=llvm-ar

CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-fdiagnostics-color=always -pipe -O2 -march=native -fstack-protector-strong --param ssp-buffer-size=4 -fstack-clash-protection"
CXXFLAGS="-fdiagnostics-color=always -pipe -O2 -march=native -fstack-protector-strong --param ssp-buffer-size=4 -fstack-clash-protection"
LDFLAGS="-Wl,-O1 -Wl,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,--sort-common -Wl,--hash-style=gnu"
RUSTFLAGS="-C opt-level=2"

MAKEFLAGS="-j$(nproc)"
NINJAFLAGS="-j$(nproc)"

DEBUG_CFLAGS="-g"
DEBUG_CXXFLAGS="-g"
DEBUG_RUSTFLAGS="-C debuginfo=2"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].