{"id":36624015,"url":"https://github.com/memfault/conda-recipes","last_synced_at":"2026-01-12T09:29:49.609Z","repository":{"id":37078378,"uuid":"231288953","full_name":"memfault/conda-recipes","owner":"memfault","description":"Conda recipes that the greater firmware community may enjoy","archived":false,"fork":false,"pushed_at":"2025-12-19T12:36:19.000Z","size":342,"stargazers_count":13,"open_issues_count":6,"forks_count":5,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-12-21T21:00:04.471Z","etag":null,"topics":["conda","embedded","firmware"],"latest_commit_sha":null,"homepage":"https://anaconda.org/Memfault","language":"Shell","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/memfault.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-01-02T01:54:48.000Z","updated_at":"2025-07-29T11:44:05.000Z","dependencies_parsed_at":"2023-09-26T18:40:04.218Z","dependency_job_id":"87e103a3-1f50-4c4d-8131-8dbe03832f99","html_url":"https://github.com/memfault/conda-recipes","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/memfault/conda-recipes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memfault%2Fconda-recipes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memfault%2Fconda-recipes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memfault%2Fconda-recipes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memfault%2Fconda-recipes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/memfault","download_url":"https://codeload.github.com/memfault/conda-recipes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memfault%2Fconda-recipes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["conda","embedded","firmware"],"created_at":"2026-01-12T09:29:49.536Z","updated_at":"2026-01-12T09:29:49.594Z","avatar_url":"https://github.com/memfault.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"A collection of Conda recipes used internally at Memfault but shared broadly.\n\nThe packages can be found on the [Anaconda Package Repository](https://anaconda.org/Memfault/repo)\n\n## Using\n\nTo use any of these packages in your own Conda environments, just add `memfault` to the top of the `environment.yml` in your project:\n\n```yaml\nchannels:\n  - memfault\n  - conda-forge\n  - nodefaults\n```\n\nSince all of these packages are built using Conda Forge's package pinnings (https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/master/recipe/conda_build_config.yaml), using Conda Forge as the base is heavily suggested.\n\n## Building via GitHub Action\n\nNot heavily tested, but it's possible to build packages from github actions, see\n[`.github/workflows/build.yml`](.github/workflows/build.yml).\n\nTo trigger it, set the appropriate `PACKAGE_DIR` when making a pull request.\n\nNote that this may not work if the above `CONDA_BUILD_SYSROOT` is set; you'll\nhave to add a step to install the appropriate tools into that location if you\nwant to go that route.\n\nFrom the Github UI, you can [trigger the build by going here](https://github.com/memfault/conda-recipes/actions/workflows/build.yml), then:\n\n- Click \"Run Workflow\".\n- Enter the package directory in the designated input field.\n- Hit \"Run\".\n\nOnce the Github action has built the packages, they still need to be uploaded to\nanaconda.org manually. Go to the [detail page of your workflow run](https://github.com/memfault/conda-recipes/actions)\nand download the \"packages\" artifact.\n\nUnzip the packages.zip and then run:\n\n```shell\nPACKAGE=\u003cpackage_name\u003e anaconda upload **/$PACKAGE*.conda --user memfault\n```\n\n## Building Locally\n\nTo build any of the following packages (macOS and Linux Ubuntu 18.04 tested):\n\n```bash\n# Create build environment\n$ conda create -n build conda-build anaconda-client\n$ conda activate build\n\n# Build specific recipe\n$ cd \u003csome_recipe_dir\u003e\n$ conda build -c conda-forge .\n\n# Successful build prints an upload command\n$ anaconda upload ...\n```\n\nYou can optionally install + use the `mambabuild` build command, see here:\n\nhttps://boa-build.readthedocs.io/en/latest/mambabuild.html\n\nIt can significantly speed up package dependency resolution during the build.\n\n### Docker for Linux\n\nSo you don't want to build on your native machine? That's fine!\n\n```bash\n$ docker run -ti -v $(pwd):/conda-recipes condaforge/miniforge3  /bin/bash\n# force an architecture, e.g. building linux amd64 on macOS Apple Silicon\n$ docker run --platform=linux/amd64 -ti -v $(pwd):/conda-recipes condaforge/miniforge3  /bin/bash\n\n$ apt update \u0026\u0026 apt install -y build-essential\n$ conda create -n build conda-build anaconda-client\n$ conda activate build\n$ cd /conda-recipes/\u003crecipe\u003e\n$ conda build -c conda-forge .\n\n# Successful build prints an upload command\n$ anaconda upload ...\n```\n\n### Building on macOS\n\nWe follow [Conda Build's (and Conda Forge's) strategy](https://docs.conda.io/projects/conda-build/en/latest/resources/compiler-tools.html#macos-sdk) for building macOS packages.\n\nAs noted in the `conda_build_config.yaml` of each recipe, we use the MacOS 11.0 SDK.\n\nWe no longer build packages for older macOS targets, including macOS x86_64 targets.\n\n```yaml\nCONDA_BUILD_SYSROOT:\n  - /opt/MacOSX11.0.sdk # [osx and arm64]\n```\n\nTo download and install this SDK, you can find the package here: https://github.com/phracker/MacOSX-SDKs/releases\n\n```bash\n$ sudo mv \u003c11.0 SDK\u003e /opt/MacOSX11.0.sdk\n```\n\n#### Apple Silicon\n\nIf you're on Apple Silicon, it's possible to build for both ARM64 and x86_64 via Rosetta. The default environment is `osx-arm64`, but you should explicitly create set that with `CONDA_SUBDIR` to ensure Rosetta is not used.\n\n```sh\n# create an Apple Silicon environment\nCONDA_SUBDIR=osx-arm64 conda create -n build-silicon conda-build anaconda-client\nconda activate build-silicon\nconda config --env --set subdir osx-arm64\n```\n\nThen follow the _Building Locally_ instructions at the top.\n\n## Uploading Packages\n\nIt's nice to convert packages to the new `.conda` archive format, see here for\ndetails:\n\nhttps://docs.conda.io/projects/conda/en/latest/user-guide/concepts/packages.html\n\nOnly the `.conda` package needs to be uploaded (conda clients 4.7 (2019-05-17)\nand later support the `.conda` package format).\n\nYou can make this the default package format by adding the following to your\n`~/.condarc`:\n\n```yaml\nconda_build:\n  pkg_format: 2\n  zstd_compression_level: 19\n```\n\nOr using the `conda config` command:\n\n```bash\nconda config --set conda_build.pkg_format 2\nconda config --set conda_build.zstd_compression_level 19\n```\n\nReference:\n\nhttps://github.com/conda/conda-docs/issues/796#issuecomment-1494822219\n\nIf you built a package as a `.tar.bz2` but want to convert it to a `.conda` package, you can do so with:\n\n```bash\ncph transmute /path/to/package.tar.bz2 .conda\n```\n\n## Useful Resources\n\n- Creating patch files for fixing builds: https://www.anaconda.com/blog/patching-source-code-to-conda-build-recipes\n\n## Removed Recipes\n\nSome recipes that we no longer intend to update have been removed. If you require details on them,\nthe git history is your friend.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemfault%2Fconda-recipes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmemfault%2Fconda-recipes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemfault%2Fconda-recipes/lists"}