Skip to content

Commit

Permalink
build: remove support for the GO_OPENCL environment variable
Browse files Browse the repository at this point in the history
We don't use the opencl build tag anymore.
  • Loading branch information
fjl committed Mar 22, 2017
1 parent da7af44 commit c6e6f1f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions build/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c6e6f1f

Please sign in to comment.