This patch was borrowed from Debian's package: https://salsa.debian.org/debian-astro-team/aoflagger/-/blob/0484ef75a663e3e07738550cdade46f433a53dac/debian/patches/Use-system-provided-pybind11.patch Description: Use system provided pybind11 Author: Ole Streicher Origin: Debian Last-Update: Mon, 30 Aug 2021 11:05:37 +0200 --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 655ea5e..824ee2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,11 +62,6 @@ foreach(ExternalSubmodule IN LISTS ExternalSubmoduleDirectories) endif() endforeach() -# Include aocommon/pybind11 headers -include_directories("${CMAKE_SOURCE_DIR}/external/aocommon/include") -add_subdirectory("${CMAKE_SOURCE_DIR}/external/pybind11") -include_directories(SYSTEM ${pybind11_INCLUDE_DIR}) - find_package( HDF5 COMPONENTS C CXX @@ -101,6 +96,11 @@ find_package(PythonInterp REQUIRED) message(STATUS "Using python version ${PYTHON_VERSION_STRING}") include_directories(SYSTEM ${PYTHON_INCLUDE_DIRS}) +# Include pybind11 headers +find_package(pybind11 REQUIRED) +include_directories("${CMAKE_SOURCE_DIR}/external/aocommon/include") +include_directories(${pybind11_INCLUDE_DIR}) + # boost::alignment requires Boost 1.56 find_package(Boost 1.56.0 REQUIRED COMPONENTS date_time filesystem system unit_test_framework) diff
path: root/tests/guix-shell.sh
AgeCommit message (Expand)Author
2022-09-04store: Open daemon connections with SOCK_CLOEXEC....Previously, 'guix shell' for example would leak the socket that's connected to the daemon. * guix/store.scm (open-unix-domain-socket, open-inet-socket): Pass SOCK_CLOEXEC to 'socket'. * tests/guix-shell.sh: Add test. Ludovic Courtès
2022-02-18profiles: 'profile-derivation' rejects unsupported packages....Previously user-facing commands would happily start building packages even if they do not support that system. With this change, all the user-facing commands reject unsupported packages without going further. * guix/profiles.scm (profile-derivation): Add #:allow-unsupported-packages?. Define 'check-supported-packages' and honor #:allow-unsupported-packages?. * tests/guix-pack.sh, tests/guix-package.sh, tests/guix-shell.sh: Ensure that unsupported packages are rejected. * tests/guix-system.sh: Pass "--system=armhf-linux" when attempting to build gnu/system/examples/asus-c201.tmpl. Ludovic Courtès