Kazuki Nishiura created BEAM-12159:
--------------------------------------

             Summary: No way to pass compile option for golang job
                 Key: BEAM-12159
                 URL: https://issues.apache.org/jira/browse/BEAM-12159
             Project: Beam
          Issue Type: Improvement
          Components: sdk-go
            Reporter: Kazuki Nishiura


I wanted to pass below compile time flag to workaround BEAM-12157

go build -ldflags "-X 
google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn"

 

However since beam currently re-build binary on its own (see 
[https://github.com/apache/beam/blob/243128a8fc52798e1b58b0cf1a271d95ee7aa241/sdks/go/pkg/beam/runners/universal/runnerlib/compile.go#L88]
 ) there is no way to pass flag.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to