From 6e47fb7747282bb80de6e0c84480d6ec3a2a8881 Mon Sep 17 00:00:00 2001 From: schnellerhase <56360279+schnellerhase@users.noreply.github.com> Date: Mon, 29 Jun 2026 12:33:28 +0200 Subject: [PATCH 1/3] Remove explicit file list --- .github/workflows/pythonapp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 330451ec4..8a8da0538 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -45,7 +45,7 @@ jobs: - name: Gersemi check run: | pip install gersemi - gersemi --check cpp/CMakeLists.txt cpp/*.cmake.in python/CMakeLists.txt + gersemi --check . build: From 13efc4165aef255f9ba5008e2103479d4e78612e Mon Sep 17 00:00:00 2001 From: schnellerhase <56360279+schnellerhase@users.noreply.github.com> Date: Mon, 29 Jun 2026 12:33:35 +0200 Subject: [PATCH 2/3] Test --- demo/cpp/demo_create_and_tabulate/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/demo/cpp/demo_create_and_tabulate/CMakeLists.txt b/demo/cpp/demo_create_and_tabulate/CMakeLists.txt index 325b889fb..80dd04a5d 100644 --- a/demo/cpp/demo_create_and_tabulate/CMakeLists.txt +++ b/demo/cpp/demo_create_and_tabulate/CMakeLists.txt @@ -8,8 +8,7 @@ set(CMAKE_CXX_EXTENSIONS OFF) # Use Python for detecting Basix when installed using combined build find_package(Python3 COMPONENTS Interpreter) if(${Python3_FOUND}) - execute_process( - COMMAND + execute_process(COMMAND ${Python3_EXECUTABLE} -c "import basix, os, sys; sys.stdout.write(os.path.dirname(basix.__file__))" OUTPUT_VARIABLE BASIX_PY_DIR From eec9106ce65cbfdec66377ecacc9281a6613f951 Mon Sep 17 00:00:00 2001 From: "Jack S. Hale" Date: Tue, 30 Jun 2026 14:52:19 +0100 Subject: [PATCH 3/3] I'm conviced - sorry! --- demo/cpp/demo_create_and_tabulate/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo/cpp/demo_create_and_tabulate/CMakeLists.txt b/demo/cpp/demo_create_and_tabulate/CMakeLists.txt index 80dd04a5d..325b889fb 100644 --- a/demo/cpp/demo_create_and_tabulate/CMakeLists.txt +++ b/demo/cpp/demo_create_and_tabulate/CMakeLists.txt @@ -8,7 +8,8 @@ set(CMAKE_CXX_EXTENSIONS OFF) # Use Python for detecting Basix when installed using combined build find_package(Python3 COMPONENTS Interpreter) if(${Python3_FOUND}) - execute_process(COMMAND + execute_process( + COMMAND ${Python3_EXECUTABLE} -c "import basix, os, sys; sys.stdout.write(os.path.dirname(basix.__file__))" OUTPUT_VARIABLE BASIX_PY_DIR