Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for buildFlags (0.24 sec)

  1. src/cmd/go/internal/work/exec.go

    	if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil {
    		return
    	}
    	if cflags, err = buildFlags("CFLAGS", DefaultCFlags, p.CgoCFLAGS, checkCompilerFlags); err != nil {
    		return
    	}
    	if cxxflags, err = buildFlags("CXXFLAGS", DefaultCFlags, p.CgoCXXFLAGS, checkCompilerFlags); err != nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy

    initscript {
        dependencies { classpath(files("repo/test-1.3.jar")) }
    }
    org.gradle.test.BuildClass()
    '''
            TestFile initScript2 = file('init2.init.gradle.kts')
            initScript2 << '''
    try {
        Class.forName("org.gradle.test.BuildClass")
    } catch (e: ClassNotFoundException) {
        println("BuildClass not found as expected.")
    }
    '''
    
            buildFile << 'task doStuff'
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildScriptClasspathIntegrationTest.java

            testFile("buildSrc/src/main/java/BuildClass.java").writelns("public class BuildClass extends org.gradle.test.DepClass { }");
            testFile("build.gradle").writelns("new BuildClass()");
            inTestDirectory().withTasks("help").run();
        }
    
        @Test
        public void buildSrcProjectCanReferToSourceOutsideBuildSrcDir() {
            testFile("gradle/src/BuildClass.java").writelns("public class BuildClass { }");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/ExternalScriptExecutionIntegrationTest.groovy

    '''
        }
    
        private def createExternalJar() {
            ArtifactBuilder builder = artifactBuilder()
            builder.sourceFile('org/gradle/test/BuildClass.java') << '''
                package org.gradle.test;
                public class BuildClass { }
    '''
            builder.buildJar(testFile("repo/test-1.3.jar"))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/SettingsScriptExecutionIntegrationTest.groovy

            '''
        }
    
        private def createExternalJar() {
            ArtifactBuilder builder = artifactBuilder();
            builder.sourceFile('org/gradle/test/BuildClass.java') << '''
                package org.gradle.test;
                public class BuildClass { }
            '''
            builder.buildJar(file("repo/test-1.3.jar"))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/test/flagdefs.go

    	"appends":          true,
    	"asmdecl":          true,
    	"assign":           true,
    	"atomic":           true,
    	"bool":             true,
    	"bools":            true,
    	"buildtag":         true,
    	"buildtags":        true,
    	"cgocall":          true,
    	"composites":       true,
    	"copylocks":        true,
    	"defers":           true,
    	"directive":        true,
    	"errorsas":         true,
    	"framepointer":     true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. src/go/build/build.go

    	// Clients creating a new context may customize BuildTags, which
    	// defaults to empty, but it is usually an error to customize ToolTags or ReleaseTags.
    	// ToolTags defaults to build tags appropriate to the current Go toolchain configuration.
    	// ReleaseTags defaults to the list of Go releases the current release is compatible with.
    	// BuildTags is not set for the Default build Context.
    	// In addition to the BuildTags, ToolTags, and ReleaseTags, build constraints
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    source files that are not part of this package with the current build
    configuration but may be part of other build configurations.
    The contents of these files may be read using Pass.ReadFile;
    see the "asmdecl" or "buildtags" analyzers for examples of loading
    non-Go files and reporting diagnostics against them.
    
    The ResultOf field provides the results computed by the analyzers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/action.go

    	if err := CheckGOOSARCHPair(cfg.Goos, cfg.Goarch); err != nil {
    		fmt.Fprintf(os.Stderr, "go: %v\n", err)
    		base.SetExitStatus(2)
    		base.Exit()
    	}
    
    	for _, tag := range cfg.BuildContext.BuildTags {
    		if strings.Contains(tag, ",") {
    			fmt.Fprintf(os.Stderr, "go: -tags space-separated list contains comma\n")
    			base.SetExitStatus(2)
    			base.Exit()
    		}
    	}
    
    	return b
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/test/test.go

    finds any problems, go test reports those and does not run the test
    binary. Only a high-confidence subset of the default go vet checks are
    used. That subset is: atomic, bool, buildtags, directive, errorsas,
    ifaceassert, nilfunc, printf, and stringintconv. You can see
    the documentation for these and other vet tests via "go doc cmd/vet".
    To disable the running of go vet, use the -vet=off flag. To run all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top