Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion scripts/install_grunk.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down