Skip to content

GenerateJLHeader.jl: add missing packages to a temporary environment - #35

Merged
JKRT merged 1 commit into
masterfrom
header-script-temp-env
Oct 27, 2026
Merged

JKRT merged 1 commit into
masterfrom
header-script-temp-env

Conversation

@JKRT

@JKRT JKRT commented Oct 27, 2026

Copy link
Copy Markdown
Member

Run as plain julia (the parser Makefile), lib/parser/GenerateJLHeader.jl added MetaModelica and Absyn from git master, and ImmutableList, to Julia's default environment. A git-tracked MetaModelica kept there keeps its old version and makes installing OM.jl unsatisfiable. Missing packages now go to a temporary environment; packages the active environment has are still used.

Checked: the old and new scripts generate the same OpenModelicaJuliaHeader.h; with the new one the default environment stays empty.

🤖 Generated with Claude Code

Run as plain julia (the parser Makefile), it added MetaModelica and Absyn from
git master and ImmutableList to the default environment. The git-tracked
MetaModelica keeps its version there and makes installing OM.jl unsatisfiable.
Packages the active environment has are still used; the generated header is
unchanged.

Assisted-by: Claude Opus 5.5
@JKRT
JKRT merged commit ea4149f into master Oct 27, 2026
8 checks passed
@JKRT
JKRT deleted the header-script-temp-env branch October 27, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant