{"id":41621733,"url":"https://github.com/jobs-github/llvm-bindings-go","last_synced_at":"2026-01-24T13:55:51.116Z","repository":{"id":61679790,"uuid":"553648817","full_name":"jobs-github/llvm-bindings-go","owner":"jobs-github","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-19T04:59:31.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"13.0.1","last_synced_at":"2024-06-20T12:07:55.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/jobs-github.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-18T14:41:04.000Z","updated_at":"2024-06-20T12:07:55.905Z","dependencies_parsed_at":"2022-10-20T04:15:13.530Z","dependency_job_id":null,"html_url":"https://github.com/jobs-github/llvm-bindings-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jobs-github/llvm-bindings-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobs-github%2Fllvm-bindings-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobs-github%2Fllvm-bindings-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobs-github%2Fllvm-bindings-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobs-github%2Fllvm-bindings-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jobs-github","download_url":"https://codeload.github.com/jobs-github/llvm-bindings-go/tar.gz/refs/heads/13.0.1","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobs-github%2Fllvm-bindings-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28729411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: 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":[],"created_at":"2026-01-24T13:55:51.032Z","updated_at":"2026-01-24T13:55:51.110Z","avatar_url":"https://github.com/jobs-github.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"This directory contains LLVM bindings for the Go programming language\n(http://golang.org).\n\nPrerequisites\n-------------\n\n* Go 1.2+.\n* CMake (to build LLVM).\n\nUsing the bindings\n------------------\n\nThe package path \"llvm.org/llvm/bindings/go/llvm\" can be used to\nimport the latest development version of LLVM from SVN. Paths such as\n\"llvm.org/llvm.v36/bindings/go/llvm\" refer to released versions of LLVM.\n\nIt is recommended to use the \"-d\" flag with \"go get\" to download the\npackage or a dependency, as an additional step is required to build LLVM\n(see \"Building LLVM\" below).\n\nBuilding LLVM\n-------------\n\nThe script \"build.sh\" in this directory can be used to build LLVM and prepare\nit to be used by the bindings. If you receive an error message from \"go build\"\nlike this:\n\n    ./analysis.go:4:84: fatal error: llvm-c/Analysis.h: No such file or directory\n     #include \u003cllvm-c/Analysis.h\u003e // If you are getting an error here read bindings/go/README.txt\n\nor like this:\n\n    ./llvm_dep.go:5: undefined: run_build_sh\n\nit means that LLVM needs to be built or updated by running the script.\n\n    $ $GOPATH/src/llvm.org/llvm/bindings/go/build.sh\n\nAny command line arguments supplied to the script are passed to LLVM's CMake\nbuild system. A good set of arguments to use during development are:\n\n    $ $GOPATH/src/llvm.org/llvm/bindings/go/build.sh -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD=host -DBUILD_SHARED_LIBS=ON\n\nNote that CMake keeps a cache of build settings so once you have built\nLLVM there is no need to pass these arguments again after updating.\n\nAlternatively, you can build LLVM yourself, but you must then set the\nCGO_CPPFLAGS, CGO_CXXFLAGS and CGO_LDFLAGS environment variables:\n\n    $ export CGO_CPPFLAGS=\"`/path/to/llvm-build/bin/llvm-config --cppflags`\"\n    $ export CGO_CXXFLAGS=-std=c++14\n    $ export CGO_LDFLAGS=\"`/path/to/llvm-build/bin/llvm-config --ldflags --libs --system-libs all`\"\n    $ go build -tags byollvm\n\nIf you see a compilation error while compiling your code with Go 1.9.4 or later as follows,\n\n    go build llvm.org/llvm/bindings/go/llvm: invalid flag in #cgo LDFLAGS: -Wl,-headerpad_max_install_names\n\nyou need to setup $CGO_LDFLAGS_ALLOW to allow a compiler to specify some linker options:\n\n    $ export CGO_LDFLAGS_ALLOW='-Wl,(-search_paths_first|-headerpad_max_install_names)'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjobs-github%2Fllvm-bindings-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjobs-github%2Fllvm-bindings-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjobs-github%2Fllvm-bindings-go/lists"}