Quansight / pearu-sandbox

Pearu's sandbox
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

can't load package: package main: build constraints exclude all Go files in #3

Open pearu opened 5 years ago

pearu commented 5 years ago
[ 12%] Generating ../libjwt.a, ../libjwt.h
can't load package: package main: build constraints exclude all Go files in /home/pearu/git/omnisci/omniscidb-internal/Licensing
make[2]: *** [Licensing/CMakeFiles/Licensing.dir/build.make:63: libjwt.a] Error 1
make[1]: *** [CMakeFiles/Makefile2:2111: Licensing/CMakeFiles/Licensing.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

As a solution, use the following environment:

export CGO_ENABLED=1
export CGO_LDFLAGS=
export CGO_CFLAGS=
export CGO_CPPFLAGS=