- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 92 for cgoEnabled (0.16 sec)
-
src/cmd/dist/buildgo.go
// // package build // const defaultCGO_ENABLED = <CGO_ENABLED> // // It is invoked to write go/build/zcgo.go. func mkzcgo(dir, file string) { var buf strings.Builder writeHeader(&buf) fmt.Fprintf(&buf, "package build\n") fmt.Fprintln(&buf) fmt.Fprintf(&buf, "const defaultCGO_ENABLED = %s\n", quote(os.Getenv("CGO_ENABLED"))) writefile(buf.String(), file, writeSkipSame) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 13 20:44:00 UTC 2023 - 4.3K bytes - Viewed (0) -
misc/go_android_exec/README
mobile subrepository: https://github.com/golang/mobile To run the standard library tests, enable Cgo and use an appropriate C compiler from the Android NDK. For example, CGO_ENABLED=1 \ GOOS=android \ GOARCH=arm64 \ CC_FOR_TARGET=$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang \ ./all.bash To run tests on the Android device, add the bin directory to PATH so the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 01 14:45:55 UTC 2023 - 732 bytes - Viewed (0) -
.github/workflows/go-healing.yml
with: go-version: ${{ matrix.go-version }} check-latest: true - name: Build on ${{ matrix.os }} if: matrix.os == 'ubuntu-latest' env: CGO_ENABLED: 0 GO111MODULE: on MINIO_KMS_SECRET_KEY: "my-minio-key:oyArl7zlPECEduNbB1KXgdzDn2Bdpvvw0l8VO51HQnY=" MINIO_KMS_AUTO_ENCRYPTION: on run: |
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 1.2K bytes - Viewed (1) -
src/internal/cfg/cfg.go
const KnownEnv = ` AR CC CGO_CFLAGS CGO_CFLAGS_ALLOW CGO_CFLAGS_DISALLOW CGO_CPPFLAGS CGO_CPPFLAGS_ALLOW CGO_CPPFLAGS_DISALLOW CGO_CXXFLAGS CGO_CXXFLAGS_ALLOW CGO_CXXFLAGS_DISALLOW CGO_ENABLED CGO_FFLAGS CGO_FFLAGS_ALLOW CGO_FFLAGS_DISALLOW CGO_LDFLAGS CGO_LDFLAGS_ALLOW CGO_LDFLAGS_DISALLOW CXX FC GCCGO GO111MODULE GO386 GOAMD64 GOARCH GOARM GOARM64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 01:33:19 UTC 2024 - 1.2K bytes - Viewed (1) -
buildscripts/cross-compile.sh
#!/bin/bash set -e # Enable tracing if set. [ -n "$BASH_XTRACEFD" ] && set -x function _init() { ## All binaries are static make sure to disable CGO. export CGO_ENABLED=0 ## List of architectures and OS to test coss compilation. SUPPORTED_OSARCH="linux/ppc64le linux/mips64 linux/amd64 linux/arm64 linux/s390x darwin/arm64 darwin/amd64 freebsd/amd64 windows/amd64 linux/arm linux/386 netbsd/amd64 linux/mips openbsd/amd64" }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Dec 19 01:08:22 UTC 2023 - 958 bytes - Viewed (0) -
cluster/images/etcd/Makefile
docker run --rm --interactive -v $(shell pwd)/../../../:/go/src/k8s.io/kubernetes$(DOCKER_VOL_OPTS) -v $${migrate_tmp_dir}:/build$(DOCKER_VOL_OPTS) -e GOOS=$(OS) -e GOARCH=$(ARCH) golang:$(GOLANG_VERSION) \ /bin/bash -c "CGO_ENABLED=0 GO111MODULE=off go build -o /build/migrate k8s.io/kubernetes/cluster/images/etcd/migrate"; \ $(BIN_INSTALL) $${migrate_tmp_dir}/migrate $(TEMP_DIR); ifeq ($(ARCH),amd64)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:13:15 UTC 2024 - 11.1K bytes - Viewed (0) -
samples/tcp-echo/src/Dockerfile
# limitations under the License. # build a tcp-echo binary using the golang container FROM golang:1.22 as builder WORKDIR /go/src/istio.io/tcp-echo-server/ COPY main.go . RUN CGO_ENABLED=0 GOOS=linux go build -ldflags '-extldflags -static -s -w' -o tcp-echo main.go FROM scratch WORKDIR /bin/ COPY --from=builder /go/src/istio.io/tcp-echo-server/tcp-echo . ENTRYPOINT [ "/bin/tcp-echo" ]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 16 22:03:02 UTC 2024 - 989 bytes - Viewed (0) -
samples/jwt-server/src/Dockerfile
# limitations under the License. # build a jwt-server binary using the golang container FROM golang:1.19 as builder WORKDIR /go/src/istio.io/jwt-server/ COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -o jwt-server main.go FROM gcr.io/distroless/static-debian11@sha256:21d3f84a4f37c36199fd07ad5544dcafecc17776e3f3628baf9a57c8c0181b3f as distroless WORKDIR /bin/
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 04 03:06:26 UTC 2022 - 1.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_stale_precompiled.txt
# no longer installed anyway! Since we're requiring a C compiler in order to # build and use cgo libraries in the standard library, we should make sure it # matches what's in the cache. [abscc] stop env CGO_ENABLED=1 env CC='' [!GOOS:plan9] env PATH='' # Guaranteed not to include $(go env CC)! [GOOS:plan9] env path='' ! go build -x runtime/cgo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 1.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_cgo_compiled_importmap.txt
[!cgo] skip [GOOS:darwin] skip # net package does not import "C" on Darwin [GOOS:windows] skip # net package does not import "C" on Windows [GOOS:plan9] skip # net package does not import "C" on Plan 9 env CGO_ENABLED=1 env GOFLAGS=-tags=netcgo # Force net to use cgo # "runtime/cgo [runtime.test]" appears in the test dependencies of "runtime", # because "runtime/cgo" itself depends on "runtime"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 27 22:26:09 UTC 2023 - 1.7K bytes - Viewed (0)