Skip to content

Collect various fixes - #111

Merged
kulp merged 4 commits into
developfrom
collected-fixes
Aug 15, 2026
Merged

Collect various fixes#111
kulp merged 4 commits into
developfrom
collected-fixes

Conversation

@kulp

@kulp kulp commented Jul 3, 2026

Copy link
Copy Markdown
Owner

The current MR collects minor fixes or improvements that were found in the course of other development. Commits should be reviewed individually, since they will have little or no relation to each other.

This reverts commit 7f0b319.

Running `brew upgrade` can take quite a while now, just to do something like replacing a Firefox version. This was a workaround in its origin, and we will avoid it if we can.
@kulp
kulp force-pushed the collected-fixes branch from 3465f21 to 6661307 Compare August 14, 2026 11:22
@kulp
kulp marked this pull request as ready for review August 14, 2026 11:41
kulp added 3 commits August 14, 2026 06:45
The state encoding in tenyr.v used explicit width for the state values, which
were pruned significantly in 6a4d284, at which
point the explicit width became too wide. Leave the width unspecified so it is
inferred.
The TENYR language is self-hosted: `enable_language(TENYR)` uses `find_program`
for the tas assembler (in build/src) at configure time, but `tas` is only built
at build time by add_subdirectory(src), which runs later. A clean `cmake
-DBUILD_EXAMPLES=ON` (or `-DTESTING=ON`) therefore failed at enable_language
with "Could not find CMAKE_TENYR_COMPILER ... tas".

Add a configure-time bootstrap: when TENYR is needed and build/src/tas is
absent, configure and build tas/tld/tsim into build/src in a throwaway
_bootstrap directory, copy the binaries to the path find_program searches, and
remove the bootstrap directory. Subsequent reconfigures skip the bootstrap
because the tools are already present. A single clean `cmake -S . -B build
-DTESTING=ON` now configures, builds, and passes `ctest`.
@kulp
kulp force-pushed the collected-fixes branch from 6661307 to 5d67b7a Compare August 14, 2026 11:45
@kulp
kulp merged commit 348605e into develop Aug 15, 2026
2 checks passed
@kulp
kulp deleted the collected-fixes branch August 15, 2026 11:09
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