project: export the arch triplet into the environment
Metadata
Current evaluation
Merged PR #1768 (5df5ab8d5) exports SNAPCRAFT_ARCH_TRIPLET to build-script environments, fixing #1752.
Resolution: closed resolved
Reason: PR #1768 was merged as commit 5df5ab8d5. It added SNAPCRAFT_ARCH_TRIPLET to the build environment and explicitly resolves issue #1752.
Evaluated by: mr-cal-bot
No scores available.
Issue body
It is exported as SNAPCRAFT_ARCH_TRIPLET and usable by
the scripting functionality in snapcraft.
Fixes: #1752
Signed-off-by: Ubuntu <sergio.schvezov@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1768 (5df5ab8d5) exports SNAPCRAFT_ARCH_TRIPLET to build-script environments, fixing #1752. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1768 (commit 5df5ab8d5), exporting SNAPCRAFT_ARCH_TRIPLET to build scripts and resolving #1752. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged changes exporting the SNAPCRAFT_ARCH_TRIPLET environment variable to support scripting. Approved by one reviewer, passed CI, and resolves issue #1752 with a minimal four-file update. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Exports SNAPCRAFT_ARCH_TRIPLET to the environment for snapcraft scripting, resolving issue #1752. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcore/snapcraft#1752
(confidence 100%)
Requested exporting the architecture triplet during builds; resolved by merged PR #1768.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1752 export the arch triplet variable during build time | snapcraft | closed | Maintainer-requested feature shipped in PR #1768 (commit 5df5ab8d5): SNAPCRAFT_ARCH_TRIPLET is now exported into build-script environments; issue closed as implemented. | |
| #3414 project loader: export SNAPCRAFT_TARGET_ARCH in build environment | snapcraft | merged | Merged PR #3414 (commit ff2cd96bb) added SNAPCRAFT_TARGET_ARCH to the global build environment in set_global_environment() for core22, alongside SNAPCRAFT_ARCH_TRIPLET. | |
| #1664114 Need variable for arch triplet in yaml | snapcraft (launchpad) | closed | Added the architecture triplet to Snapcraft's build environment for use in YAML parts; implemented by snapcraft#1768 in commit 5df5ab8d5. |