{"id":16906606,"url":"https://github.com/rsms/dawn-lib","last_synced_at":"2025-07-26T10:02:58.576Z","repository":{"id":66105769,"uuid":"432800176","full_name":"rsms/dawn-lib","owner":"rsms","description":"Builds Dawn on Linux and macOS as one single easier-to-use library","archived":false,"fork":false,"pushed_at":"2021-12-05T01:03:56.000Z","size":40,"stargazers_count":29,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T21:17:04.185Z","etag":null,"topics":["dawn","linux","macos","webgpu"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rsms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.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":"2021-11-28T19:03:55.000Z","updated_at":"2024-11-21T11:44:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"4684e327-660c-40fd-a579-064bae50d576","html_url":"https://github.com/rsms/dawn-lib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fdawn-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fdawn-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fdawn-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fdawn-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsms","download_url":"https://codeload.github.com/rsms/dawn-lib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244198351,"owners_count":20414443,"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":["dawn","linux","macos","webgpu"],"created_at":"2024-10-13T18:43:32.522Z","updated_at":"2025-03-22T10:31:18.142Z","avatar_url":"https://github.com/rsms.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Builds dawn on Linux and macOS as one single easier-to-use library.\n\nThis is an experiment for [playsys](https://github.com/playbit/playsys)\n\nThe goal with this experiment is to make it less complex to build programs using dawn\nby allowing simplified linking with a single library. Eventually this will make it\ninto playsys for the Linux host wgpu implementation.\n\n\n## Build\n\nRequirements to build: (config.sh checks for all of these)\n\n- Linux with X11 or macOS \u003e=10.15\n- cmake \u003e=3.10\n- bash or a bash-compatible shell like zsh\n- wget or curl\n- git\n- ninja\n- python3\n\nConfigure build: (run after every git clone/pull/checkout)\n\n```sh\nsh config.sh\n```\n\nBuild libwgpu:\n\n```sh\nbash build.sh\n# bash build.sh -clean  # rebuild from scratch\n```\n\nBuild \u0026 run example program:\n\n```sh\nbash hello_triangle/build.sh\n./hello_triangle/bin/hello_triangle    # statically linked\n./hello_triangle/bin/hello_triangle-sh # dynamically linked\n```\n\n\u003e Linux note: To run the examples, you must be in an X11 shell\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsms%2Fdawn-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsms%2Fdawn-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsms%2Fdawn-lib/lists"}