Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install svds #107

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

simonjwright
Copy link
Contributor

When installing via Alire, include the schema and the SVD files.

Also, updated CI to use default tools, and newer actions (had a problem with setup-alire v3).

When installing via Alire, include the schema and the SVD files.

Ideally, if a user provides just the name of the required SVD file,
svd2ada should search <executable-location>/../share/CMSIS-SVD/ for
the required file, but that'd be a bigger change; this way we at leat
have the SVDs on the user's disk.

  * alire.toml (version): updated to 0.1.1.
    (xmlada): updated to ">=22.0.0" (we're presently on 24.0.0).
  * svd2ada.gpr (Install): new.
Also, updated actions.

The problem with specifying the tool versions was that on macOS the
link failed:

    malformed mach-o missing relocations, LC_DYLD_INFO, or
    LC_DYLD_CHAINED_FIXUPS in
    '/Users/runner/.config/alire/cache/dependencies/gnat_native_11.2.4_9800548d/lib/libgcc_ext.10.5.dylib'

  * .github/workflows/main.yml
    (gnat_version): removed.
    (gprbuild_version) : removed.
    (actions/checkout) updated to v3.
    (alire-project/setup-alire): likewise.
Failed on ubuntu with
    Release within requested version not found: gnat_native*

  * .github/workflows/main.yml (alire-project/setup-alire): revert to v2.
  * .github/workflows/main.yml
    (alire-project/setup-alire): update to v3.
    (toolchain): put gnat_native before gprbuild.
@simonjwright
Copy link
Contributor Author

@mosteo, I think I have to close this PR as well as #104, because (see Alire #1752) any build with the current workflows will fail on Ubuntu, either because of the toolchain issue or because of an assigned-but-unused variable; and, I have worked out a PR to fix issues #100, #102, #106 which will fail CI unless all are fixed at once

@mosteo
Copy link

mosteo commented Sep 3, 2024

Simon, I'm not involved with svd2ada.

@simonjwright
Copy link
Contributor Author

Closed in favour of #108.

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