Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,171 for toolChain (0.15 sec)

  1. platforms/documentation/docs/src/snippets/cpp/basic/groovy/build.gradle

        macros.put("NDEBUG", null)
    
        // Define a compiler options
        compilerArgs.add '-W3'
    
        // Define toolchain-specific compiler options
        compilerArgs.addAll toolChain.map { toolChain ->
            if (toolChain in [ Gcc, Clang ]) {
                return ['-O2', '-fno-access-control']
            } else if (toolChain in VisualCpp) {
                return ['/Zi']
            }
            return []
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/VisualCppToolChainDiscoveryIntegrationTest.groovy

      - ${toolChain.instanceDisplayName}:
          - The specified installation directory '${file('does-not-exist')}' does not appear to contain a Visual Studio installation.""")
        }
    
        def "tool chain is not available when SDK install is not available"() {
            when:
            buildFile << """
    model {
        toolChains {
            ${toolChain.id} {
                windowsSdkDir "does-not-exist"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/toolchain/ToolchainManagerPrivate.java

     * under the License.
     */
    package org.apache.maven.toolchain;
    
    import org.apache.maven.execution.MavenSession;
    
    /**
     * Component for use by the <code>maven-toolchains-plugin</code> only.
     * It provides API: <ol>
     * <li>to retrieve every toolchains available in user settings,</li>
     * <li>to store chosen toolchain into build context for later use by toolchain-aware plugins.</li>
     * </ol>
     *
     * @since 2.0.9
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/NativeBinaryFixture.groovy

                return new OtoolBinaryInfo(file, toolChain.runtimeEnv)
            }
            if (OperatingSystem.current().isWindows()) {
                if (toolChain.meets(ToolChainRequirement.GCC)) {
                    return new DumpbinGccProducedBinaryInfo(file, toolChain.runtimeEnv)
                }
                return new DumpbinBinaryInfo(file)
            }
            return new ReadelfBinaryInfo(file, toolChain.runtimeEnv)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DefaultJavaCompileSpecFactoryTest.groovy

    import org.gradle.internal.jvm.Jvm
    import org.gradle.jvm.toolchain.JavaLanguageVersion
    import org.gradle.jvm.toolchain.internal.JavaToolchain
    import org.gradle.util.TestUtil
    import spock.lang.Specification
    
    class DefaultJavaCompileSpecFactoryTest extends Specification {
    
        def "produces correct spec with fork=#fork, executable=#executable, toolchain=#toolchain"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/SwiftcToolChain.java

    import org.gradle.nativeplatform.toolchain.Swiftc;
    import org.gradle.nativeplatform.toolchain.SwiftcPlatformToolChain;
    import org.gradle.nativeplatform.toolchain.internal.ExtendableToolChain;
    import org.gradle.nativeplatform.toolchain.internal.NativeLanguage;
    import org.gradle.nativeplatform.toolchain.internal.PlatformToolProvider;
    import org.gradle.nativeplatform.toolchain.internal.ToolType;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/GccPlatformToolProvider.java

    import org.gradle.nativeplatform.toolchain.internal.MutableCommandLineToolContext;
    import org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler;
    import org.gradle.nativeplatform.toolchain.internal.Stripper;
    import org.gradle.nativeplatform.toolchain.internal.SymbolExtractor;
    import org.gradle.nativeplatform.toolchain.internal.SystemLibraries;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r81/ToolchainsParallelActionExecutionCrossVersionSpec.groovy

            def root = rootCause(e)
            root.message.startsWith(targetVersion >= GradleVersion.version("8.8") ?
                'No matching toolchain could be found in the locally installed toolchains' :
                'No locally installed toolchains match')
        }
    
        def rootCause(Exception e) {
            def ex = e
            while (ex.cause != null) {
                ex = ex.cause
            }
            ex
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 05:31:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/java/toolchain-management/kotlin/settings.gradle.kts

    plugins {
        id("org.gradle.toolchains.foojay-resolver") version("0.8.0")
    }
    
    import org.gradle.api.Plugin
    import org.gradle.api.initialization.Settings
    import org.gradle.jvm.toolchain.JavaToolchainResolver
    import org.gradle.jvm.toolchain.JavaToolchainResolverRegistry
    import java.net.URI
    import java.util.Optional
    import javax.inject.Inject
    
    apply<MadeUpPlugin>()
    
    // tag::toolchain-management[]
    toolchainManagement {
        jvm { // <1>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 16:22:45 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/toolchain/ToolchainPrivate.java

     * under the License.
     */
    package org.apache.maven.toolchain;
    
    import java.util.Map;
    
    import org.apache.maven.toolchain.model.ToolchainModel;
    
    /**
     * a private contract between the toolchains plugin and the components.
     */
    public interface ToolchainPrivate extends Toolchain {
    
        /**
         * Let the toolchain decide if it matches requirements defined
         * in the toolchain plugin configuration.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top