mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
build: remove support for the GO_OPENCL environment variable
We don't use the opencl build tag anymore.
This commit is contained in:
parent
da7af44060
commit
c6e6f1fec2
@ -215,10 +215,6 @@ func doInstall(cmdline []string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func buildFlags(env build.Environment) (flags []string) {
|
func buildFlags(env build.Environment) (flags []string) {
|
||||||
if os.Getenv("GO_OPENCL") != "" {
|
|
||||||
flags = append(flags, "-tags", "opencl")
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set gitCommit constant via link-time assignment.
|
// Set gitCommit constant via link-time assignment.
|
||||||
if env.Commit != "" {
|
if env.Commit != "" {
|
||||||
flags = append(flags, "-ldflags", "-X main.gitCommit="+env.Commit)
|
flags = append(flags, "-ldflags", "-X main.gitCommit="+env.Commit)
|
||||||
|
Loading…
Reference in New Issue
Block a user