Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 92 for cgoEnabled (0.24 sec)

  1. src/crypto/internal/boring/build-boring.sh

    echo '#!/bin/bash
    exec clang++-'$ClangV' -DGOBORING -fPIC "$@"
    ' >/usr/local/bin/clang++
    chmod +x /usr/local/bin/clang /usr/local/bin/clang++
    
    # The BoringSSL tests use Go, and cgo would look for gcc.
    export CGO_ENABLED=0
    
    # Modify the support code crypto/mem.c (outside the FIPS module)
    # to not try to use weak symbols, because they don't work with some
    # Go toolchain / clang toolchain combinations.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 21:28:09 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_patterns.txt

    cd ../empty
    go list -deps ./...
    ! stdout .
    ! stderr 'finding'
    stderr -count=1 '^go: warning: "./..." matched no packages'
    
    # disabling cgo should drop useC
    [short] skip
    env CGO_ENABLED=0
    go list -f '{{.ImportPath}}: {{.Match}}' all ... example.com/m/... ./... ./xyz...
    ! stdout example.com/m/useC
    
    -- m/go.mod --
    module example.com/m
    
    require example.com/unused v0.0.0 // indirect
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 03:25:01 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  3. cluster/images/etcd-version-monitor/Makefile

    	# Compile etcd-version-monitor.
    	docker run --rm -it \
    	    -v $(shell pwd)/../../../:/go/src/k8s.io/kubernetes \
    	    -v $(TEMP_DIR):/build \
    	    -e GOARCH=$(ARCH) \
    	    golang:$(GOLANG_VERSION) \
    	    /bin/bash -c "CGO_ENABLED=0 go build -o /build/etcd-version-monitor k8s.io/kubernetes/cluster/images/etcd-version-monitor"
    
    	docker build -t $(IMAGE) $(TEMP_DIR)
    
    push: build
    	docker push $(IMAGE)
    
    all: build
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 11 07:06:46 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. hack/lib/golang.sh

        case "${platform}" in
          "linux/amd64")
            export CGO_ENABLED=1
            export CC=${KUBE_LINUX_AMD64_CC:-x86_64-linux-gnu-gcc}
            ;;
          "linux/arm")
            export CGO_ENABLED=1
            export CC=${KUBE_LINUX_ARM_CC:-arm-linux-gnueabihf-gcc}
            ;;
          "linux/arm64")
            export CGO_ENABLED=1
            export CC=${KUBE_LINUX_ARM64_CC:-aarch64-linux-gnu-gcc}
            ;;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  5. Dockerfile.release.fips

    FROM golang:1.21-alpine as build
    
    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH /go
    ENV CGO_ENABLED 0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature file
    RUN curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.fips -o /go/bin/minio && \
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 30 09:41:56 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/00-bug.yml

            GOTMPDIR=""
            GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
            GOVCS=""
            GOVERSION="go1.20.7"
            GCCGO="gccgo"
            AR="ar"
            CC="clang"
            CXX="clang++"
            CGO_ENABLED="1"
            GOMOD="/dev/null"
            GOWORK=""
            CGO_CFLAGS="-O2 -g"
            CGO_CPPFLAGS=""
            CGO_CXXFLAGS="-O2 -g"
            CGO_FFLAGS="-O2 -g"
            CGO_LDFLAGS="-O2 -g"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/runtime/ehooks_test.go

    )
    
    func TestExitHooks(t *testing.T) {
    	bmodes := []string{""}
    	if testing.Short() {
    		t.Skip("skipping due to -short")
    	}
    	// Note the HasCGO() test below; this is to prevent the test
    	// running if CGO_ENABLED=0 is in effect.
    	haverace := platform.RaceDetectorSupported(runtime.GOOS, runtime.GOARCH)
    	if haverace && testenv.HasCGO() {
    		bmodes = append(bmodes, "-race")
    	}
    	for _, bmode := range bmodes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/syscall/exec_freebsd_test.go

    	// we need the binary there, and it must be statically linked.
    	x := filepath.Join(root, "syscall.test")
    	cmd := exec.Command(testenv.GoToolPath(t), "test", "-c", "-o", x, "syscall")
    	cmd.Env = append(os.Environ(), "CGO_ENABLED=0")
    	if o, err := cmd.CombinedOutput(); err != nil {
    		t.Fatalf("Build of syscall in jail root failed, output %v, err %v", o, err)
    	}
    
    	cmd = exec.Command("/syscall.test", "-test.run=TestJailAttach", "/")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 20:38:48 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. src/cmd/link/dwarf_test.go

    	t.Run("exe", func(t *testing.T) {
    		testDWARF(t, "", false, cc, "CGO_ENABLED=1", "GOOS=ios", "GOARCH=arm64")
    	})
    	// However, c-archive iOS objects have embedded DWARF.
    	t.Run("c-archive", func(t *testing.T) {
    		testDWARF(t, "c-archive", true, cc, "CGO_ENABLED=1", "GOOS=ios", "GOARCH=arm64")
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 17:05:14 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. Dockerfile.release

    FROM golang:1.21-alpine as build
    
    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH /go
    ENV CGO_ENABLED 0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature file
    RUN curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 29 19:10:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top