diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac2e967..cf3bb38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -142,8 +142,14 @@ jobs: - name: Configure run: pixi run -e ad configure Release + # One compile job at a time: the AD translation units are huge (locally + # measured peaks: occt_plugin_tu_1.cpp ~8.8 GB, generated/gp.cpp ~6.4 GB, + # several more at ~2 GB), and the `build` task's bare `--parallel` lets + # Ninja run ~6 jobs on a 4-core/16 GB hosted runner - the runner was + # repeatedly killed mid-build (exit code 143 / "lost communication"). + # Later steps' depends-on `build` then finds nothing left to do. - name: Build - run: pixi run -e ad build + run: pixi run -e ad cmake --build build-ad --parallel 1 - name: Test run: pixi run -e ad test diff --git a/pixi.lock b/pixi.lock index c1d7ced..db9c581 100644 --- a/pixi.lock +++ b/pixi.lock @@ -71,7 +71,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/ca-certificates-2026.7.22-hbd8a1cb_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/python_abi-3.14-9_cp314.conda - conda: https://conda.anaconda.org/conda-forge/noarch/tzdata-2026c-h151e31d_0.conda - - pypi: git+https://github.com/grunk-dev/grunk.git?rev=6bf642412c7d501101585a41370050386551f759#6bf642412c7d501101585a41370050386551f759 + - pypi: git+https://github.com/grunk-dev/grunk.git?rev=6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc#6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc - pypi: https://files.pythonhosted.org/packages/1d/fc/716c1e62e512ef1c160e7984a73a5fc7df45166f2ff3f254e71c58076f7c/libclang-18.1.1-py2.py3-none-manylinux2010_x86_64.whl - pypi: https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl default: @@ -179,7 +179,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/noarch/tomli-2.4.1-pyhcf101f3_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/typing_extensions-4.16.0-pyhcf101f3_0.conda - conda: https://conda.anaconda.org/conda-forge/noarch/tzdata-2026c-h151e31d_0.conda - - pypi: git+https://github.com/grunk-dev/grunk.git?rev=6bf642412c7d501101585a41370050386551f759#6bf642412c7d501101585a41370050386551f759 + - pypi: git+https://github.com/grunk-dev/grunk.git?rev=6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc#6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc - pypi: https://files.pythonhosted.org/packages/1d/fc/716c1e62e512ef1c160e7984a73a5fc7df45166f2ff3f254e71c58076f7c/libclang-18.1.1-py2.py3-none-manylinux2010_x86_64.whl - pypi: https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl osx-64: @@ -258,7 +258,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/osx-64/tk-8.6.13-ha6c374e_4.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/yaml-cpp-0.8.0-h2fb4741_1.conda - conda: https://conda.anaconda.org/conda-forge/osx-64/zstd-1.5.7-hbc1a06c_7.conda - - pypi: git+https://github.com/grunk-dev/grunk.git?rev=6bf642412c7d501101585a41370050386551f759#6bf642412c7d501101585a41370050386551f759 + - pypi: git+https://github.com/grunk-dev/grunk.git?rev=6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc#6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc - pypi: https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl - pypi: https://files.pythonhosted.org/packages/e2/e5/fc61bbded91a8830ccce94c5294ecd6e88e496cc85f6704bf350c0634b70/libclang-18.1.1-py2.py3-none-macosx_10_9_x86_64.whl win-64: @@ -335,7 +335,7 @@ environments: - conda: https://conda.anaconda.org/conda-forge/win-64/yaml-cpp-0.8.0-h5112557_1.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zlib-1.3.2-hfd05255_3.conda - conda: https://conda.anaconda.org/conda-forge/win-64/zstd-1.5.7-h534d264_7.conda - - pypi: git+https://github.com/grunk-dev/grunk.git?rev=6bf642412c7d501101585a41370050386551f759#6bf642412c7d501101585a41370050386551f759 + - pypi: git+https://github.com/grunk-dev/grunk.git?rev=6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc#6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc - pypi: https://files.pythonhosted.org/packages/0b/2d/3f480b1e1d31eb3d6de5e3ef641954e5c67430d5ac93b7fa7e07589576c7/libclang-18.1.1-py2.py3-none-win_amd64.whl - pypi: https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl tools: @@ -3673,7 +3673,7 @@ packages: - zstd >=1.5.7,<1.6.0a0 size: 387535 timestamp: 1786599623274 -- pypi: git+https://github.com/grunk-dev/grunk.git?rev=6bf642412c7d501101585a41370050386551f759#6bf642412c7d501101585a41370050386551f759 +- pypi: git+https://github.com/grunk-dev/grunk.git?rev=6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc#6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc name: grunk version: 0.5.0 requires_dist: diff --git a/pixi.toml b/pixi.toml index ee28e3d..11d7536 100644 --- a/pixi.toml +++ b/pixi.toml @@ -47,7 +47,7 @@ pytest = "*" # console script and its libclang/pyyaml dependencies come along transitively with # this same pin, since grunk.codegen (grunk/python/grunk/codegen/) now lives in the # grunk package itself rather than a local codegen/generate.py copy here. -grunk = { git = "https://github.com/grunk-dev/grunk.git", rev = "6bf642412c7d501101585a41370050386551f759" } +grunk = { git = "https://github.com/grunk-dev/grunk.git", rev = "6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc" } # Stock OCCT - only pulled in by the `default` environment (see [environments]). # Kept out of [dependencies] specifically so the `ad` environment (adOCCT instead, @@ -111,7 +111,7 @@ freetype = "*" # libclang/pyyaml that comes along transitively with grunk's own default-feature # copy of this pin for that reason. [feature.ad.pypi-dependencies] -grunk = { git = "https://github.com/grunk-dev/grunk.git", rev = "6bf642412c7d501101585a41370050386551f759" } +grunk = { git = "https://github.com/grunk-dev/grunk.git", rev = "6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc" } [feature.ad.activation.env] # Needed for the same reason [target.linux-64.activation.env]'s own copy is - cmake's diff --git a/scripts/install_grunk.cmake b/scripts/install_grunk.cmake index 6f2ee48..5ef9e70 100644 --- a/scripts/install_grunk.cmake +++ b/scripts/install_grunk.cmake @@ -124,7 +124,15 @@ endif() # bug. Pure python/grunk/codegen/generate.py change - no effect on already- # generated generated/*.cpp or the runtime C++ libraries, only on the next # `generate_code` run. -set(GRUNK_REV "6bf642412c7d501101585a41370050386551f759") +# Bumped again 2026-11-17 to 6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc (grunk's +# own main, post PR grunk-dev/grunk#317 merge, fixing grunk-dev/grunk#300) - +# with_std_vector()'s element cast is now a named function template instead of +# a lambda. Under Clang, sol2's __PRETTY_FUNCTION__-derived metatable name for +# that lambda was identical across instantiations, so Handle(Geom_Curve)'s +# as_vec silently reused gp_Pnt's cast and rejected every argument - the +# macOS-only occt.Geom_Curve.as_vec failure. Runtime header change: requires +# a rebuild, not just a regenerate. +set(GRUNK_REV "6b08b0e0dec3d66b56a2e7eaa415ebdd67b7a9dc") get_filename_component(PROJECT_ROOT "${CMAKE_CURRENT_LIST_DIR}/.." ABSOLUTE) set(GRUNK_PREFIX "${PROJECT_ROOT}/.deps/${GRUNK_INSTALL_NAME}")