Skip to content

Conversation

hanno-becker
Copy link
Contributor

@hanno-becker hanno-becker commented May 28, 2025

Encountered while looking at CI failures in #1037

  • Allow parameters in EXEC_WRAPPER environment variable:

    Previously, the value of the environment variable EXEC_WRAPPER
    had to be the name of a binary to be usable with test/acvp_client.py.
    This commit generalizes this to allow a binary name followed by some
    fixed parameters.

  • Makefiles: Simplify auto-derivation of compiler flags

    This commit simplifies the logic around automatically
    setting architecture-specific compiler flags from

  if (arch == A)
  {
     if (!cross)
        ...
     if (cross == X)
        ...
     elif (cross == Y)
        ...
  }
  elif (arch == B)
  {
     if (!cross)
        ...
     if (cross == X)
        ...
     elif (cross == Y)
        ...
  }

to

  if !cross
  {
     if (arch == A)
        ...
     elif (arch == B)
        ...
     ...
  }
  else {
     if (cross == X)
        ...
     elif (cross == Y)
        ...
  }

It also adds further architecture flags for RV64 and PPC64LE.

@hanno-becker hanno-becker requested a review from a team as a code owner May 28, 2025 09:36
@hanno-becker hanno-becker marked this pull request as draft May 28, 2025 09:41
@hanno-becker hanno-becker marked this pull request as ready for review May 28, 2025 10:06
hanno-becker and others added 3 commits May 28, 2025 18:15
Previously, the value of the environment variable `EXEC_WRAPPER`
had to be the name of a binary to be usable with `test/acvp_client.py`.
This commit generalizes this to allow a binary name followed by some
fixed parameters.

Signed-off-by: Hanno Becker <[email protected]>
This commit simplifies the logic around automatically
setting architecture-specific compiler flags from

```
  if (arch == A)
  {
     if (!cross)
        ...
     if (cross == X)
        ...
     elif (cross == Y)
        ...
  }
  elif (arch == B)
  {
     if (!cross)
        ...
     if (cross == X)
        ...
     elif (cross == Y)
        ...
  }
```

to

```
  if !cross
  {
     if (arch == A)
        ...
     elif (arch == B)
        ...
     ...
  }
  else {
     if (cross == X)
        ...
     elif (cross == Y)
        ...
  }
```

It also adds further architecture flags for RV64 and PPC64LE.

Signed-off-by: Hanno Becker <[email protected]>
The tches server being unavailable keeps failing our CI.
This commit switches to the eprint url of the same paper - that should be more
stable.

Signed-off-by: Matthias J. Kannwischer <[email protected]>
Copy link
Contributor

@mkannwischer mkannwischer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @hanno-becker

@hanno-becker hanno-becker merged commit bb9f013 into main May 28, 2025
287 checks passed
@hanno-becker hanno-becker deleted the fixes branch May 28, 2025 12:19
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.

2 participants