build: remove support for the GO_OPENCL environment variable

We don't use the opencl build tag anymore.
This commit is contained in:
Felix Lange 2017-03-22 15:59:02 +01:00
parent da7af44060
commit c6e6f1fec2
1 changed files with 0 additions and 4 deletions

View File

@ -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)