Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for targetPlatforms (0.23 sec)

  1. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativePlatformSamplesIntegrationTest.groovy

            run "installMainArmExecutable", "installMainSparcExecutable"
    
            then:
            executable(targetPlatforms.dir.file("build/exe/main/arm/main")).exec().out == "Hello from ${toolChain.typeDisplayName}!\n"
            executable(targetPlatforms.dir.file("build/exe/main/arm/main")).arch.isI386()
    
            executable(targetPlatforms.dir.file("build/exe/main/sparc/main")).exec().out == "Hello from ${toolChain.typeDisplayName}!\n"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/AbstractGccCompatibleToolChain.java

            return select(NativeLanguage.ANY, targetPlatform);
        }
    
        private PlatformToolProvider getProviderForPlatform(NativePlatformInternal targetPlatform) {
            PlatformToolProvider toolProvider = toolProviders.get(targetPlatform);
            if (toolProvider == null) {
                toolProvider = createPlatformToolProvider(targetPlatform);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 20K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/main/java/org/gradle/language/swift/tasks/SwiftCompile.java

        }
    
        private Compiler<SwiftCompileSpec> createCompiler() {
            NativePlatformInternal targetPlatform = Cast.cast(NativePlatformInternal.class, this.targetPlatform.get());
            NativeToolChainInternal toolChain = Cast.cast(NativeToolChainInternal.class, getToolChain().get());
            PlatformToolProvider toolProvider = toolChain.select(targetPlatform);
            return toolProvider.newCompiler(SwiftCompileSpec.class);
        }
    
        @TaskAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/swift/AbstractSwiftComponentIntegrationTest.groovy

            buildFile << """
                task verifyBinariesSwiftVersion {
                    doLast {
                        ${componentUnderTestDsl}.binaries.get().each {
                            assert it.targetPlatform.sourceCompatibility.version == ${expectedVersion}
                        }
                    }
                }
            """
    
            expect:
            succeeds "verifyBinariesSwiftVersion"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/BinaryNativePlatformIntegrationTest.groovy

                architecture "x86_64"
            }
            arm {
                architecture "arm"
            }
        }
        components {
            main {
                targetPlatform "x86"
                targetPlatform "x86_64"
                targetPlatform "arm"
            }
        }
    }
    
    """
    
            and:
            succeeds "assemble"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/swift/internal/DefaultSwiftBinary.java

        }
    
        @Override
        public TargetMachine getTargetMachine() {
            return targetPlatform.getTargetMachine();
        }
    
        @Override
        public SwiftPlatform getTargetPlatform() {
            return targetPlatform;
        }
    
        public NativePlatform getNativePlatform() {
            return ((DefaultSwiftPlatform) targetPlatform).getNativePlatform();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/plugins/NativeComponentModelPluginTest.groovy

                .mutate(FlavorContainer) { it.add named(Flavor, "flavor1") }
    
            project.model {
                components {
                    test(NativeExecutableSpec) {
                        targetPlatform "platform"
                    }
                }
            }
    
            then:
            NativeExecutableSpec executable = single(components.values()) as NativeExecutableSpec
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

    model {
        platforms {
            unknown {
                architecture "unknown"
            }
        }
    }
    model {
        components {
            main(NativeExecutableSpec) {
                targetPlatform "unknown"
                targetPlatform "${NativePlatformsTestFixture.defaultPlatformName}"
            }
        }
    }
    """
            when:
            succeeds "assemble"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/main/java/org/gradle/language/plugins/NativeBasePlugin.java

                    TaskProvider<StripSymbols> stripSymbols = stripSymbols(link, names, tasks, toolChain, targetPlatform, strippedLocation);
                    executable.getExecutableFile().set(stripSymbols.flatMap(task -> task.getOutputFile()));
                    TaskProvider<ExtractSymbols> extractSymbols = extractSymbols(link, names, tasks, toolChain, targetPlatform, symbolLocation);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 26.1K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/tasks/AbstractNativeCompileTask.java

     */
    @DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly")
    public abstract class AbstractNativeCompileTask extends DefaultTask {
        private final Property<NativePlatform> targetPlatform;
        private final Property<NativeToolChain> toolChain;
        private boolean positionIndependentCode;
        private boolean debug;
        private boolean optimize;
        private final DirectoryProperty objectFileDir;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top