{"id":13763622,"url":"https://github.com/go-llvm/llgo","last_synced_at":"2025-05-10T17:30:49.962Z","repository":{"id":1791572,"uuid":"2715490","full_name":"go-llvm/llgo","owner":"go-llvm","description":"LLVM-based compiler for Go","archived":true,"fork":false,"pushed_at":"2015-01-05T01:15:37.000Z","size":4193,"stargazers_count":1255,"open_issues_count":22,"forks_count":80,"subscribers_count":65,"default_branch":"master","last_synced_at":"2025-03-12T18:41:37.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"theforeman/foreman-live","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/go-llvm.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}},"created_at":"2011-11-05T14:23:32.000Z","updated_at":"2025-02-19T19:05:23.000Z","dependencies_parsed_at":"2022-07-22T19:33:36.148Z","dependency_job_id":null,"html_url":"https://github.com/go-llvm/llgo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-llvm%2Fllgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-llvm%2Fllgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-llvm%2Fllgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-llvm%2Fllgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-llvm","download_url":"https://codeload.github.com/go-llvm/llgo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253453191,"owners_count":21911054,"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-08-03T15:00:53.895Z","updated_at":"2025-05-10T17:30:49.322Z","avatar_url":"https://github.com/go-llvm.png","language":"Go","funding_links":[],"categories":["Go","Go Compilers","Golang","Starchart","位置信息与地理GEO处理库","Go编译器","\u003cspan id=\"go编译器-go-compilers\"\u003eGO编译器 Go Compilers\u003c/span\u003e"],"sub_categories":["Advanced Console UIs","SQL 查询语句构建库","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e"],"readme":"# llgo\n\n**This project has moved to llvm.org. Any contributions or bug reports should be sent there. Please refer to the [llgo readme](http://llvm.org/svn/llvm-project/llgo/trunk/README.TXT) for more information.**\n\nllgo is a [Go](http://golang.org) frontend for [LLVM](http://llvm.org), written in Go.\n\nllgo is under active development. It compiles and passes most of the standard library test suite and a substantial portion of the gc test suite, but there are some corner cases that are known not to be handled correctly yet. Nevertheless it can compile modestly substantial programs (including itself; it is self hosting on x86-64 Linux).\n\nProgress will be reported on the [mailing list](https://groups.google.com/d/forum/llgo-dev).\n\n# Installation\n\nllgo requires:\n* Go 1.3 or later.\n* [CMake](http://cmake.org/) 2.8.8 or later (to build LLVM).\n* A [modern C++ toolchain](http://llvm.org/docs/GettingStarted.html#getting-a-modern-host-c-toolchain) (to build LLVM).\n\nNote that Ubuntu Precise is one Linux distribution which does not package a sufficiently new CMake or C++ toolchain.\n\nIf you built a newer GCC following the linked instructions above, you will need to set the following environment variables before proceeding:\n\n    export PATH=/path/to/gcc-inst/bin:$PATH\n    export LD_LIBRARY_PATH=/path/to/gcc-inst/lib64:$LD_LIBRARY_PATH\n    export CC=`which gcc`\n    export CXX=`which g++`\n    export LIBGO_CFLAGS=--gcc-toolchain=/path/to/gcc-inst\n\nTo build and install llgo:\n\n    # Ensure $GOPATH is set.\n    go get -d github.com/go-llvm/llgo/cmd/gllgo\n    $GOPATH/src/llvm.org/llvm/bindings/go/build.sh -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=host\n    cd $GOPATH/src/github.com/go-llvm/llgo\n    make install prefix=/path/to/prefix j=N  # where N is the number of cores on your machine.\n\n# Running\n\nWe install two binaries to `$prefix/bin`: `llgo` and `llgo-go`.\n\n`llgo` is the compiler binary. It has a command line interface that is intended to be compatible to a large extent with `gccgo`.\n\n`llgo-go` is a command line wrapper for `go`. It works like the regular `go` command except that it uses llgo to build.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-llvm%2Fllgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-llvm%2Fllgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-llvm%2Fllgo/lists"}