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) {
|
||||
if os.Getenv("GO_OPENCL") != "" {
|
||||
flags = append(flags, "-tags", "opencl")
|
||||
}
|
||||
|
||||
// Set gitCommit constant via link-time assignment.
|
||||
if env.Commit != "" {
|
||||
flags = append(flags, "-ldflags", "-X main.gitCommit="+env.Commit)
|
||||
|
Loading…
Reference in New Issue
Block a user