- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 136 for goGcflags (0.3 sec)
-
src/make.bat
:: CGO_ENABLED: Controls cgo usage...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_stale_precompiled.txt
# Explicitly rebuild it to ensure that it is cached. # (See https://go.dev/issue/50892.) # # If running in non-short mode, explicitly vary CGO_CFLAGS # as a control case (to ensure that our regexps do catch rebuilds). [!short] env GOCACHE=$WORK/cache [!short] env CGO_CFLAGS=-DTestScript_cgo_stale_precompiled=true go build -x runtime/cgo [!short] stderr '[/\\]cgo'$GOEXE'["]? .* -importpath 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/cgo_stale.txt
# golang.org/issue/46347: a stale runtime/cgo should only force a single rebuild [!cgo] skip [short] skip # If we set a unique CGO_CFLAGS, the installed copy of runtime/cgo # should be reported as stale. env CGO_CFLAGS=-DTestScript_cgo_stale=true stale runtime/cgo # If we then build a package that uses cgo, runtime/cgo should be rebuilt and # cached with the new flag, but not installed to GOROOT.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 21 22:43:41 UTC 2022 - 888 bytes - Viewed (0) -
src/cmd/go/testdata/script/list_compiler_output.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 21 19:37:23 UTC 2022 - 233 bytes - Viewed (0) -
src/cmd/internal/archive/archive_test.go
} if err != nil { return err } cmd := testenv.Command(t, gotool, "build", "-buildmode=archive", "-o", cgoarchive, "-gcflags=all="+os.Getenv("GO_GCFLAGS"), "mycgo") cmd.Dir = filepath.Join(gopath, "src", "mycgo") cmd.Env = append(os.Environ(), "GOPATH="+gopath) out, err = cmd.CombinedOutput() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 19:27:33 UTC 2023 - 7.9K bytes - Viewed (0) -
hack/make-rules/test.sh
testargs=() eval "testargs=(${KUBE_TEST_ARGS:-})" # Used to filter verbose test output. go_test_grep_pattern=".*" goflags=() # The junit report tool needs full test case information to produce a # meaningful report. if [[ -n "${KUBE_JUNIT_REPORT_DIR}" ]] ; then goflags+=(-v) goflags+=(-json) # Show only summary lines by matching lines like "status package/test"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 22:40:10 UTC 2024 - 10.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_runtime_gcflags.txt
[short] skip # rebuilds all of std # Set up fresh GOCACHE. env GOCACHE=$WORK/gocache mkdir $GOCACHE # Verify the standard library (specifically internal/runtime/atomic) can be # built with -gcflags when -n is given. See golang.org/issue/29346. go build -n -gcflags=all='-l' std
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 00:18:30 UTC 2024 - 349 bytes - Viewed (0) -
src/cmd/go/testdata/script/modfile_flag.txt
# Recursive go commands started with 'go generate' should not get an explicitly # passed -modfile, but they should see arguments from GOFLAGS. cp go.alt.mod go.gen.mod env OLD_GOFLAGS=$GOFLAGS env GOFLAGS=-modfile=go.gen.mod go generate -modfile=go.alt.mod . env GOFLAGS=$OLD_GOFLAGS grep example.com/exclude go.gen.mod ! grep example.com/exclude go.alt.mod # The original files should not have been modified.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:18:16 UTC 2022 - 2.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_gcflags.txt
# Test that the user can override default code generation flags. [compiler:gccgo] skip # gccgo does not use -gcflags [!cgo] skip [!GOOS:linux] skip # test only works if c-archive implies -shared [short] skip env GOCACHE=$WORK/gocache # Looking for compile commands, so need a clean cache. go build -x -n -buildmode=c-archive -gcflags=all=-shared=false ./override.go stderr '^.*/compile (.* )?-shared (.* )?-shared=false' -- override.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 541 bytes - Viewed (0) -
src/go/internal/srcimporter/srcimporter.go
} args = append(args, strings.Fields(string(out))...) } args = append(args, "-I", tmpdir) args = append(args, strings.Fields(os.Getenv("CGO_CFLAGS"))...) args = append(args, bp.CgoCFLAGS...) args = append(args, bp.CgoFiles...) cmd := exec.Command(args[0], args[1:]...) cmd.Dir = bp.Dir if err := cmd.Run(); err != nil { return nil, fmt.Errorf("go tool cgo: %w", err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 18:54:32 UTC 2022 - 8.2K bytes - Viewed (0)