Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for CFlags (0.23 sec)

  1. src/cmd/cgo/internal/testsanitizers/cc_test.go

    		compiler, _ := compilerVersion()
    		if compiler.name == "gcc" {
    			c.cFlags = append(c.cFlags, "-fPIC")
    			c.ldFlags = append(c.ldFlags, "-fPIC", "-static-libtsan")
    		}
    
    	case "address":
    		c.goFlags = append(c.goFlags, "-asan")
    		// Set the debug mode to print the C stack trace.
    		c.cFlags = append(c.cFlags, "-g")
    
    	case "fuzzer":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 20:00:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/envcmd/env.go

    	defer func() {
    		if err := b.Close(); err != nil {
    			base.Fatal(err)
    		}
    	}()
    
    	cppflags, cflags, cxxflags, fflags, ldflags, err := b.CFlags(&load.Package{})
    	if err != nil {
    		// Should not happen - b.CFlags was given an empty package.
    		fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err)
    		return nil
    	}
    	cmd := b.GccCmd(".", "")
    
    	join := func(s []string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy

            then:
            def e = thrown WorkValidationException
            validateException(task, e,
                missingValueMessage { property('cCompiler').includeLink() },
                missingValueMessage { property('CFlags').includeLink() },
                missingValueMessage { property('dns').includeLink() },
                missingValueMessage { property('URL').includeLink() })
        }
    
        def propertyValidationJavaBeanSpecSingleChar() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/test.go

       return c;
    }
    
    // issue 4857
    #cgo CFLAGS: -Werror
    const struct { int a; } *issue4857() { return (void *)0; }
    
    // issue 5224
    // Test that the #cgo CFLAGS directive works,
    // with and without platform filters.
    #cgo CFLAGS: -DCOMMON_VALUE=123
    #cgo windows CFLAGS: -DIS_WINDOWS=1
    #cgo !windows CFLAGS: -DIS_WINDOWS=0
    int common = COMMON_VALUE;
    int is_windows = IS_WINDOWS;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    CGO_LDFLAGS environment variables are added to the flags derived from
    these directives. Package-specific flags should be set using the
    directives, not the environment variables, so that builds work in
    unmodified environments. Flags obtained from environment variables
    are not subject to the security limitations described above.
    
    All the cgo CPPFLAGS and CFLAGS directives in a package are concatenated and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/help/helpdoc.go

    	CGO_CFLAGS
    		Flags that cgo will pass to the compiler when compiling
    		C code.
    	CGO_CFLAGS_ALLOW
    		A regular expression specifying additional flags to allow
    		to appear in #cgo CFLAGS source code directives.
    		Does not apply to the CGO_CFLAGS environment variable.
    	CGO_CFLAGS_DISALLOW
    		A regular expression specifying flags that must be disallowed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. src/cmd/link/link_test.go

    TEXT ·x(SB),0,$0
            CALL foo(SB)
            RET
    `)
    	write("x.c", `
    void undefined();
    
    void foo() {
            undefined();
    }
    `)
    
    	cc := strings.TrimSpace(runGo("env", "CC"))
    	cflags := strings.Fields(runGo("env", "GOGCCFLAGS"))
    
    	importcfgfile := filepath.Join(tmpdir, "importcfg")
    	testenv.WriteImportcfg(t, importcfgfile, nil, "runtime")
    
    	// Compile, assemble and pack the Go and C code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/flags.h

        absl::flat_hash_set<std::string> xla_compile_and_run_allowed_devices_;
      } tf_xla_use_device_api;
    };
    
    // Flags for the XlaCallModule kernel.
    struct XlaCallModuleFlags {
      // Used by XlaCallModuleOp to specify safety checks to disable.
      absl::flat_hash_set<std::string> disabled_checks;
    };
    
    // Flags for the build_xla_ops pass.
    struct BuildXlaOpsPassFlags {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. pkg/test/framework/resource/flags.go

    	"istio.io/istio/pkg/test/framework/config"
    	"istio.io/istio/pkg/test/framework/label"
    )
    
    var settingsFromCommandLine = DefaultSettings()
    
    // SettingsFromCommandLine returns settings obtained from command-line flags. config.Parse must be called before
    // calling this function.
    func SettingsFromCommandLine(testID string) (*Settings, error) {
    	if !config.Parsed() {
    		panic("config.Parse must be called before this function")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/flags.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/jit/flags.h"
    
    #include <limits>
    #include <mutex>  // NOLINT
    #include <optional>
    #include <vector>
    
    #include "absl/base/call_once.h"
    #include "absl/strings/numbers.h"
    #include "absl/strings/str_split.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top