Skip to content

Allow multiple features in MMTEST_FEATURE#104

Closed
bluss wants to merge 2 commits into
masterfrom
constfeature
Closed

Allow multiple features in MMTEST_FEATURE#104
bluss wants to merge 2 commits into
masterfrom
constfeature

Conversation

@bluss

@bluss bluss commented Jul 10, 2026

Copy link
Copy Markdown
Owner

This compile time environment variable exists for testing only. Previously it would only work with one feature name, now it takes a comma-separated list that's parsed at compile time.

This is useful because the KernelFmaAvx2 kernel needs both features fma and avx2 to be enabled, so it's tested by something like this:

MMTEST_FEATURE=avx,fma,avx2 cargo build ...

This compile time environment variable exists for testing only.
Previously it would only work with one feature name, now it takes a
comma-separated list that's parsed at compile time.

This is useful because the KernelFmaAvx2 kernel needs both features fma
and avx2 to be enabled, so it's tested by something like this:

MMTEST_FEATURE=avx,fma,avx2 cargo build ...
The build script is not needed, but keep it around anyway, since it will
be needed soon again.
@bluss

bluss commented Jul 14, 2026

Copy link
Copy Markdown
Owner Author

Done in #107

@bluss bluss closed this Jul 14, 2026
@bluss bluss deleted the constfeature branch July 14, 2026 14:29
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