Skip to content

Instantly share code, notes, and snippets.

Avatar

Johel Ernesto Guerrero Peña JohelEGP

  • Dominican Republic
View GitHub Profile
@JohelEGP
JohelEGP / PKGBUILD-gcc-git-devel-c++-modules
Created Aug 17, 2020
PKGBUILD for AUR's gcc-git package, branch devel/c++-modules (with --disable-bootstrap)
View PKGBUILD-gcc-git-devel-c++-modules
# 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 Feb 9, 2021
How to portably build, test and install modern CMake projects
View how_to_portably_build_test_and_install_modern_cmake_projects.md

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 ``.