{"id":16164795,"url":"https://github.com/aperezdc/popsicle","last_synced_at":"2025-03-18T23:30:30.738Z","repository":{"id":142776962,"uuid":"101910668","full_name":"aperezdc/popsicle","owner":"aperezdc","description":"Toolchain tarball creator for Icecream","archived":false,"fork":false,"pushed_at":"2018-12-19T22:12:04.000Z","size":28,"stargazers_count":5,"open_issues_count":7,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T12:47:00.852Z","etag":null,"topics":["icecc","icecream","rust","tarball","tool","toolchain"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aperezdc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2017-08-30T17:37:39.000Z","updated_at":"2023-03-09T16:03:37.000Z","dependencies_parsed_at":"2023-04-27T00:05:18.503Z","dependency_job_id":null,"html_url":"https://github.com/aperezdc/popsicle","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"5227d1c4325914b2050bc4e50c69431f78784aba"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperezdc%2Fpopsicle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperezdc%2Fpopsicle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperezdc%2Fpopsicle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperezdc%2Fpopsicle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aperezdc","download_url":"https://codeload.github.com/aperezdc/popsicle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243955432,"owners_count":20374369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["icecc","icecream","rust","tarball","tool","toolchain"],"created_at":"2024-10-10T02:47:50.618Z","updated_at":"2025-03-18T23:30:30.733Z","avatar_url":"https://github.com/aperezdc.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Popsicle 🍧\n\n[![Build Status](https://travis-ci.org/aperezdc/popsicle.svg?branch=master)](https://travis-ci.org/aperezdc/popsicle)\n\nPopsicle creates toolchain tarballs for\n[Icecream](https://github.com/icecc/icecream) (also known as IceCC).\n\nIf you have ever been frustrated by the slowness and feebleness of the\n`icecc-create-env` script included as part of Icecream, then Popsicle is for\nyou:\n\n- Popsicle is smart enough to detect compilers that point to `ccache`, and it\n  will figure out by itself where to find the actual location of the program.\n- Generated toolchain tarballs will be cached and reused. When any file from\n  the tarball is changed (or any of its dependencies), it will be recreated on\n  demand.\n- The `popsicle` program is stand-alone and does not have external dependencies\n  other than the compilers it will package.\n\nBoth GCC and Clang are supported.\n\n\n## Building\n\nYou will need a stable version of the [Rust](https://www.rust-lang.org/)\ncompiler and tools, including Cargo:\n\n```sh\ngit clone https://github.com/aperezdc/popsicle \u0026\u0026 cd $_\ncargo build --release\n```\n\n\n## Using\n\nPopsicle assembles and caches a tarball with all the tools needed for\ncompilation, including —but not limited to— the dependency libraries.\nGenerated tarballs will be cached under `$XDG_CACHE_HOME` (typically\n`~/.cache`), and reused whenever possible:\n\n```\naperez@momiji ~ % popsicle gcc\n/home/aperez/.cache/popsicle/gcc/gcc-7.2.0.tar.gz\n```\n\nAs shown above, the full path to the toolchain tarball is printed. The\noutput from Popsicle can be used to set `$ICECC_VERSION` directly:\n\n```sh\n# Create a toolchain tarball (if needed) and get its location.\nexport ICECC_VERSION=$(popsicle gcc)\n\n# Now compile some big project.\nPATH=\"/usr/lib/ccache:${PATH}\" CCACHE_PREFIX=/usr/bin/icecc make CC=gcc -j50\n```\n\nThis is indeed the kind of usage for which Popsicle was designed.\n\n\n## Licensing\n\nDistributed under the terms of the [MIT\nlicense](https://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faperezdc%2Fpopsicle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faperezdc%2Fpopsicle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faperezdc%2Fpopsicle/lists"}