Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,297 for toolChain (0.18 sec)

  1. platforms/documentation/docs/src/snippets/java/toolchain-task/groovy/build.gradle

    // tag::custom-toolchain-task-with-java[]
    abstract class CustomTaskUsingToolchains extends DefaultTask {
    
        @Nested
        abstract Property<JavaLauncher> getLauncher() // <1>
    
        CustomTaskUsingToolchains() {
            def toolchain = project.extensions.getByType(JavaPluginExtension.class).toolchain // <2>
            Provider<JavaLauncher> defaultLauncher = getJavaToolchainService().launcherFor(toolchain) // <3>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/toolchain/select.go

    			gover.Startup.AutoToolchain = toolchain
    		} else {
    			if toolchain != "" {
    				// Accept toolchain only if it is > our min.
    				// (If it is equal, then min satisfies it anyway: that can matter if min
    				// has a suffix like "go1.21.1-foo" and toolchain is "go1.21.1".)
    				toolVers := gover.FromToolchain(toolchain)
    				if toolVers == "" || (!strings.HasPrefix(toolchain, "go") && !strings.Contains(toolchain, "-go")) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work_use_toolchain.txt

    mkdir m1_22_0
    go mod init -C m1_22_0
    go mod edit -C m1_22_0 -go=1.22.0 -toolchain=go1.99.0
    mkdir m1_22_1
    go mod init -C m1_22_1
    go mod edit -C m1_22_1 -go=1.22.1 -toolchain=go1.99.1
    mkdir m1_24_rc0
    go mod init -C m1_24_rc0
    go mod edit -C m1_24_rc0 -go=1.24rc0 -toolchain=go1.99.2
    
    go work init
    grep '^go 1.50$' go.work
    ! grep toolchain go.work
    
    # work use with older modules should leave go 1.50 in the go.work.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/MavenToolchainsInstallationSupplier.java

                    if (LOGGER.isDebugEnabled()) {
                        LOGGER.debug("Java Toolchain auto-detection failed to parse Maven Toolchains located at {}", toolchainFile, e);
                    } else {
                        LOGGER.info("Java Toolchain auto-detection failed to parse Maven Toolchains located at {}. {}", toolchainFile, e.getMessage());
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/cpp/basic/kotlin/build.gradle.kts

        // Define a preprocessor macro for every binary
        macros.put("NDEBUG", null)
    
        // Define a compiler options
        compilerArgs.add("-W3")
    
        // Define toolchain-specific compiler options
        compilerArgs.addAll(toolChain.map { toolChain ->
            when (toolChain) {
                is Gcc, is Clang -> listOf("-O2", "-fno-access-control")
                is VisualCpp -> listOf("/Zi")
                else -> listOf()
            }
        })
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainIntegrationTest.groovy

                java {
                    toolchain {
                        languageVersion = JavaLanguageVersion.of(${jdkMetadata1.languageVersion.majorVersion})
                    }
                }
    
                project.getExtensions().getByType(JavaToolchainService.class)
                    .launcherFor(java.toolchain)
                    .get()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 15:18:26 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchainManagerPrivate.java

                        org.apache.maven.toolchain.model.ToolchainModel tm =
                                new org.apache.maven.toolchain.model.ToolchainModel(toolchainModel);
                        toRet.add(fact.createToolchain(tm));
                    }
                }
    
                // add default toolchain
                ToolchainPrivate tool = fact.createDefaultToolchain();
                if (tool != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/GccCompatibleNativeCompiler.java

    import org.gradle.nativeplatform.toolchain.internal.NativeCompileSpec;
    import org.gradle.nativeplatform.toolchain.internal.NativeCompiler;
    import org.gradle.nativeplatform.toolchain.internal.OptionsFileArgsWriter;
    
    import java.io.File;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/java/toolchain-management/groovy/settings.gradle

                }
            }
        }
    }
    // end::toolchain-management[]
    
    rootProject.name = 'toolchain-management'
    
    abstract class MadeUpPlugin implements Plugin<Settings> {
    
        @Inject
        protected abstract JavaToolchainResolverRegistry getToolchainResolverRegistry();
    
        void apply(Settings settings) {
            settings.getPlugins().apply("jvm-toolchain-management")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 16:22:45 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/cmd/go/internal/toolchain/switch.go

    // If Switch decides to switch toolchains but cannot identify a toolchain to use.
    // it prints the errors along with one more about not being able to find the toolchain
    // and returns.
    //
    // Otherwise, Switch prints an informational message giving a reason for the
    // switch and the toolchain being invoked and then switches toolchains.
    // This operation never returns.
    func (s *Switcher) Switch(ctx context.Context) {
    	if !s.NeedSwitch() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top