{"id":21044321,"url":"https://github.com/trixi-framework/p4est_jll_bindings","last_synced_at":"2026-03-19T18:35:28.758Z","repository":{"id":42079477,"uuid":"371171157","full_name":"trixi-framework/P4est_jll_bindings","owner":"trixi-framework","description":"Generate and host Julia bindings for the p4est library provided by P4est_jll.jl","archived":false,"fork":false,"pushed_at":"2022-04-13T13:52:40.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-20T17:28:31.227Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Julia","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/trixi-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-26T21:18:56.000Z","updated_at":"2023-07-25T14:46:28.000Z","dependencies_parsed_at":"2022-08-12T04:20:23.960Z","dependency_job_id":null,"html_url":"https://github.com/trixi-framework/P4est_jll_bindings","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trixi-framework%2FP4est_jll_bindings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trixi-framework%2FP4est_jll_bindings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trixi-framework%2FP4est_jll_bindings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trixi-framework%2FP4est_jll_bindings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trixi-framework","download_url":"https://codeload.github.com/trixi-framework/P4est_jll_bindings/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243489898,"owners_count":20299001,"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":[],"created_at":"2024-11-19T14:16:19.130Z","updated_at":"2025-12-26T20:42:07.460Z","avatar_url":"https://github.com/trixi-framework.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# P4est_jll_bindings\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-success.svg)](https://opensource.org/licenses/MIT)\n\nGenerate and host Julia bindings for the\n[p4est](https://github.com/cburstedde/p4est) library provided by\n[P4est_jll.jl](https://github.com/JuliaBinaryWrappers/P4est_jll.jl).\nThe content of the\n[P4est_jll_bindings](https://github.com/trixi-framework/P4est_jll_bindings)\nrepository itself is not immediately relevant for users of p4est in Julia. However,\nthe Julia wrapper package\n[P4est.jl](https://github.com/trixi-framework/P4est.jl) uses the artifacts\nattached to the releases of this repository to automatically retrieve\npre-generated Julia bindings. In general, we try to track the releases of\n[P4est_jll.jl](https://github.com/JuliaBinaryWrappers/P4est_jll.jl) and thus use\nthe same version numbers to avoid confusion.\n\nIf you are just looking for the relevant `Artifacts.toml` entries to\nautomatically download the bindings, check out the\n[Entries for Artifacts.toml](#entries-for-artifactstoml) section below.\n\n\n## Procedure for creating a new bindings release\nTo use Julia scripts in this repository, you first need to install a few\ndependencies by executing the following command in the repository folder:\n```bash\njulia --project=@. -e 'import Pkg; Pkg.instantiate()'\n```\nThis step is only necessary once. Then, proceed as follows:\n\n1. **Create new bindings**  \n   Create a new bindings file, e.g., using the build process of P4est.jl with\n   the environment variable `JULIA_P4EST_GENERATE_BINDINGS` set to `yes`.\n2. **Create new bindings artifact**  \n   To create a new artifact with a given bindings file, run\n   [`create_bindings_artifact.jl`](create_bindings_artifact.jl) as follows:\n   ```bash\n   julia --project create_bindings_artifact.jl path/to/bindings.jl X.Y.Z\n   ```\n   Here, `X.Y.Z` should be the P4est_jll.jl\n   [release version](https://github.com/JuliaBinaryWrappers/P4est_jll.jl/releases)\n   *in [semver](https://semver.org) format* for which the bindings have been\n   generated, e.g., `2.3.1`. This will create a new artifact archive that can be\n   attached as an asset to a new release of this repository, e.g., `P4est.v2.3.1.tar.gz`,\n   and return its name to the terminal.\n3. **Generate entries for Artifacts.toml**  \n   Note the *exact* release name of the P4est_jll.jl release for which the\n   bindings have been generated. They can be found on the P4est_jll.jl\n   [release page](https://github.com/JuliaBinaryWrappers/P4est_jll.jl/releases).\n   For example, for the p4est version `2.3.1`, the corresponding release name\n   is `P4est-v2.3.1+0` (including the `+0`).  Run the script\n   [`generate_artifacts_toml.jl`](generate_artifacts_toml.jl) as\n   ```bash\n   julia --project generate_artifacts_toml.jl ARTIFACT_FILE RELASE_NAME\n   ```\n   where `ARTIFACT_FILE` is the archive you created in the previous step and\n   `RELEASE_NAME` is the noted release name. Use the output of the script to\n   create a new entry in the\n   [Entries for Artifacts.toml](#entries-for-artifactstoml) section below, i.e.,\n   edit this `README.md` and commit it to the repository.\n4. **Create a new release**  \n   [Create a new release](https://github.com/trixi-framework/P4est_jll_bindings/releases/new)\n   of the\n   [P4est_jll_bindings](https://github.com/trixi-framework/P4est_jll_bindings)\n   repository and use the release name from the previous step for both the `Tag\n   version` and the `Release title`. At the bottom of the page, attach the newly\n   created artifact file, e.g., `P4est.v2.3.1.tar.gz`. Then, publish the\n   release.\n\n\n## Authors\nP4est_jll_bindings was initiated by\n[Michael Schlottke-Lakemper](https://www.mi.uni-koeln.de/NumSim/schlottke-lakemper)\n(University of Cologne, Germany) and\n[Hendrik Ranocha](https://ranocha.de) (University of Münster, Germany).\n\n\n## License\nP4est_jll_bindings is licensed under the MIT license (see [LICENSE.md](LICENSE.md)).\n\n\n## Entries for Artifacts.toml\nPlease add new release at the top, i.e., the list is sorted by decreasing\nversion number.\n\n* **P4est-v2.8.0+0-v2**\n  ```toml\n  [libp4est]\n  git-tree-sha1 = \"3f5d810564ee7aa8f388d206123c891e97e65c65\"\n  \n      [[libp4est.download]]\n      sha256 = \"af48410539e41c990300966c22d4012a94d5ac0f05045091687803eaef9d381b\"\n      url = \"https://github.com/trixi-framework/P4est_jll_bindings/releases/download/P4est-v2.8.0+0-v2/P4est.v2.8.0.tar.gz\"\n  ```\n\n* **P4est-v2.8.0+0**\n  ```toml\n  [libp4est]\n  git-tree-sha1 = \"ab08f50b99b6c4060e331e5ece8352645c380dd5\"\n  \n      [[libp4est.download]]\n      sha256 = \"837eacdd075584af5a5e5f727973b0a216717919ab6e2bdd0200b222c3c3f38d\"\n      url = \"https://github.com/trixi-framework/P4est_jll_bindings/releases/download/P4est-v2.8.0+0/P4est.v2.8.0.tar.gz\"\n  ```\n* **P4est-v2.3.1+0**\n  ```toml\n  [libp4est]\n  git-tree-sha1 = \"45086a10bb6c634ab1f35758ecaadcefbbbbaf13\"\n\n      [[libp4est.download]]\n      sha256 = \"0ff5f74c9391a9e32fe517327819ac8917a906925605db0569a5beca7b45bcb8\"\n      url = \"https://github.com/trixi-framework/P4est_jll_bindings/releases/download/P4est-v2.3.1+0/P4est.v2.3.1.tar.gz\"\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrixi-framework%2Fp4est_jll_bindings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrixi-framework%2Fp4est_jll_bindings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrixi-framework%2Fp4est_jll_bindings/lists"}