{"id":20140268,"url":"https://github.com/outpost-os/meson-cross-files","last_synced_at":"2026-03-06T03:31:53.622Z","repository":{"id":251015531,"uuid":"836119004","full_name":"outpost-os/meson-cross-files","owner":"outpost-os","description":"Meson cross-files for CI, can be used as examples too","archived":false,"fork":false,"pushed_at":"2024-08-02T12:16:50.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-02T23:26:32.149Z","etag":null,"topics":["cross-compilation","meson"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/outpost-os.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES/Apache-2.0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-31T07:31:12.000Z","updated_at":"2024-08-02T12:16:54.000Z","dependencies_parsed_at":"2025-03-02T23:24:26.673Z","dependency_job_id":"2e1ab1b5-e784-4be3-acf6-603e2f5756aa","html_url":"https://github.com/outpost-os/meson-cross-files","commit_stats":null,"previous_names":["outpost-os/meson-cross-files"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/outpost-os/meson-cross-files","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outpost-os%2Fmeson-cross-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outpost-os%2Fmeson-cross-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outpost-os%2Fmeson-cross-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outpost-os%2Fmeson-cross-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outpost-os","download_url":"https://codeload.github.com/outpost-os/meson-cross-files/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outpost-os%2Fmeson-cross-files/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30160859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T22:39:40.138Z","status":"online","status_checked_at":"2026-03-06T02:00:08.268Z","response_time":250,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cross-compilation","meson"],"created_at":"2024-11-13T21:49:56.649Z","updated_at":"2026-03-06T03:31:53.596Z","avatar_url":"https://github.com/outpost-os.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2024 Ledger SAS\n\nSPDX-License-Identifier: Apache-2.0\n--\u003e\n\n# Meson cross files\n\nThis repository hold `meson` build system cross files for various targets, that can be shared between users\nand for the CI/CD tools.\n\nThese cross-files are made in order to work on the Outpost Docker images.\n\n## Meson cross-file naming\n\n\u003carch-triplet\u003e-\u003ctoolchainname\u003e.ini\n\ne.g.\n`arm-noeabi-gcc`, that hold the following:\n\n```\n[constants]\ncross_compile = '/opt/arm-none-eabi/bin/arm-none-eabi-'\n\n[host_machine]\nsystem = 'baremetal'\ncpu_family = 'arm'\ncpu = 'cortex-m4'\nendian = 'little'\nexe_wrapper = 'qemu-arm-static'\n\n[binaries]\nc = cross_compile + 'gcc'\ncpp = cross_compile + 'g++'\nar = cross_compile + 'gcc-ar'\nranlib = cross_compile + 'gcc-ranlib'\nstrip = cross_compile + 'strip'\nobjcopy = cross_compile + 'objcopy'\n```\n\n## Guildelines on adding new host targets\n\nAdding new targets is made with new dedicated cross-files.\n\nSome requirements are set to avoid any confusion in the usage of crossfiles:\n\nREQ-1. *cross-toolchains path must be absolute*\n\nWhen executing `meson` on a system where multiple version of a given toolchain\nare deployed, the build step would depends on the current environment setting if\nthe toolchain path is deducated from environment variables such as PATH, and thus\nbe non-reproductible. The toolchain path must be strictly hardcoded. This should\nnot be a problem when using Docker images for building Outpost OS.\n\nREQ-2. *If an exe-wrapper exists, it should be added*\n\n`meson` support execution wrapping on build host, allowing to execute non-native\nbinaries through such exe-wrapper, to directly test the host-compiled content.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutpost-os%2Fmeson-cross-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutpost-os%2Fmeson-cross-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutpost-os%2Fmeson-cross-files/lists"}