{"id":19429516,"url":"https://github.com/pierre-24/libcint-meson","last_synced_at":"2026-03-02T12:05:07.600Z","repository":{"id":231370225,"uuid":"781610912","full_name":"pierre-24/libcint-meson","owner":"pierre-24","description":"libcint Meson wraps","archived":false,"fork":false,"pushed_at":"2024-04-07T20:24:12.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-07T20:11:48.585Z","etag":null,"topics":["libcint","meson","mesonbuild","std-dft","stda"],"latest_commit_sha":null,"homepage":"","language":"Meson","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/pierre-24.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-04-03T17:57:05.000Z","updated_at":"2024-09-30T21:42:53.000Z","dependencies_parsed_at":"2025-01-07T20:11:22.380Z","dependency_job_id":"17fd3ad3-6085-47cb-a5cf-2b76c442808b","html_url":"https://github.com/pierre-24/libcint-meson","commit_stats":null,"previous_names":["pierre-24/libcint-for-stdft","pierre-24/libcint-meson"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierre-24%2Flibcint-meson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierre-24%2Flibcint-meson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierre-24%2Flibcint-meson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierre-24%2Flibcint-meson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pierre-24","download_url":"https://codeload.github.com/pierre-24/libcint-meson/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240612540,"owners_count":19829027,"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":["libcint","meson","mesonbuild","std-dft","stda"],"created_at":"2024-11-10T14:19:45.905Z","updated_at":"2026-03-02T12:05:02.565Z","avatar_url":"https://github.com/pierre-24.png","language":"Meson","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libcint (Meson wraps)\n\nThis project create ready-to-go archives and corresponding [wrap files](https://mesonbuild.com/Wrap-dependency-system-manual.html) of [`libcint`](https://github.com/sunqm/libcint) for your Meson builds.\n\nThe different wraps are available with corresponding archives [here](https://github.com/pierre-24/libcint-meson/releases/tag/v0.3.0) (pre-releases versions are available [here](https://github.com/pierre-24/libcint-meson/releases/tag/latest), but their hash changes without notice).\n\nNote that [extra integrals are enabled](generate.patch) in order for the code to be used in some projects ([`stdlite`](https://github.com/pierre-24/stdlite) and [`stda`](https://github.com/grimme-lab/stda)), but this should not prevent you from using it.\n\n## Usage\n\nJust grab the wrap file corresponding to the version you want to use ...\n\n```bash\n# in your super project root folder\n\n# create a `subprojects` folder if it does not exists yet\nmkdir subprojects\n\n# download wrap file, here for libcint v6.1.2:\nwget https://github.com/pierre-24/libcint-meson/releases/download/v0.3.0/libcint_v6.1.2.wrap -O subprojects/libcint.wrap\n```\n\n... and add something like this in your `meson.build`:\n\n```Meson\ncc = meson.get_compiler('c')\n\nlibcint_dep = cc.find_library('libcint', required: false)\nif not libcint_dep.found()\n  libcint_proj = subproject('libcint', default_options: [])\n  libcint_dep = libcint_proj.get_variable('libcint_dep')\nendif\nproject_dep += libcint_dep\n```\n\nYou can check out the options in [`meson_options.txt`](./for-meson/meson_options.txt)\n\n## Development\n\nTo use the different scripts, you need `clisp`, `meson`, `ninja` and `cmake`.\nThey are most probably available in your favorite package manager.\n\n[`generate.sh`](generate.sh) is the script used to generate the archive and wrap file. \nIn practice, it:\n\n1. downloads `libcint`, \n2. applies  [the patch](generate.patch), \n3. re-generates the integrals with [`scripts/auto_intor.cl`](https://github.com/sunqm/libcint/blob/master/scripts/auto_intor.cl),\n4. adds [the Meson files](for-meson/), and \n5. generates both the archive and wrap file.\n\nYou can run that script locally to explore the modifications.\n\n[`tests.sh`](test.sh) is the script used to run a test suite.\nIn practice, each folder in [`for-tests`](for-tests) that starts with `test_meson` is:\n\n1. copied in a testing folder, then\n2. a `subproject/libcint` folder is filled with the previously created archive,  then\n3. `meson setup` and `meson compile` ensue, and then\n4. the output of the resulting program (by convention, `test_libcint`) is compared with `EXPECTED` (it should match).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierre-24%2Flibcint-meson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierre-24%2Flibcint-meson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierre-24%2Flibcint-meson/lists"}