Skip to content

Instantly share code, notes, and snippets.

View JohelEGP's full-sized avatar

Johel Ernesto Guerrero Peña JohelEGP

  • Dominican Republic
View GitHub Profile
@JohelEGP
JohelEGP / PKGBUILD-gcc-git-devel-c++-modules
Created August 17, 2020 18:42
PKGBUILD for AUR's gcc-git package, branch devel/c++-modules (with --disable-bootstrap)
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
# NOTE: libtool requires rebuilt with each new gcc version
pkgname=(gcc-git gcc-libs-git gcc-fortran-git gcc-objc-git gcc-ada-git gcc-go-git lib32-gcc-libs-gitb gcc-d-git)
pkgver=11.0.0.r180546.485bf433e2d
_majorver=${pkgver%%.*}
_islver=0.22.1
pkgrel=1
pkgdesc='The GNU Compiler Collection'
arch=(x86_64)
@JohelEGP
JohelEGP / how_to_portably_build_test_and_install_modern_cmake_projects.md
Last active February 9, 2021 06:34
How to portably build, test and install modern CMake projects

How to portably build, test and install modern CMake projects

These portable CMake commands build, test and install a project with a modern CMake buildsystem.

Commands

cmake -S  -B  # Generate the project's buildsystem in ``.