Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for targetPlatforms (0.47 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/target-platforms/tests/targetPlatforms.sample.conf

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 31 bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/AbstractTargetedNativeComponentSpec.java

        private final List<PlatformRequirement> targetPlatforms = new ArrayList<>();
        private final Set<String> buildTypes = new HashSet<String>();
        private final Set<String> flavors = new HashSet<String>();
    
        @Override
        public List<PlatformRequirement> getTargetPlatforms() {
            return Collections.unmodifiableList(targetPlatforms);
        }
    
        @Override
        public void targetPlatform(String targetPlatform) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. 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)
  4. platforms/documentation/docs/src/snippets/native-binaries/target-platforms/groovy/build.gradle

            }
            sparc {
                architecture "sparc"
            }
        }
        components {
            main(NativeExecutableSpec) {
                targetPlatform "arm"
                targetPlatform "sparc"
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 688 bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/configure/NativeComponentRulesTest.groovy

            NativeComponentRules.createBinariesImpl(component, platforms, [buildType].toSet(), [flavor].toSet(), nativePlatforms, nativeDependencyResolver, TestFiles.fileCollectionFactory())
    
            then:
            _ * component.targetPlatforms >> [platformRequirement]
            1 * platforms.resolve(NativePlatform, requirement("platform1")) >> platform
            createdBinaries == ([
                "sharedLibrary",
                "staticLibrary",
            ] as SortedSet)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeComponentRules.java

            List<PlatformRequirement> targetPlatforms = targetedComponent.getTargetPlatforms();
            if (targetPlatforms.isEmpty()) {
                PlatformRequirement requirement = DefaultPlatformRequirement.create(nativePlatforms.getDefaultPlatformName());
                targetPlatforms = Collections.singletonList(requirement);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/native/native_software.adoc

    === Example: Targeting a component at particular platforms
    
    [source.multi-language-sample,groovy]
    .build.gradle
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/SwiftcToolChain.java

            }
        }
    
        @Override
        public PlatformToolProvider select(NativePlatformInternal targetPlatform) {
            PlatformToolProvider toolProvider = toolProviders.get(targetPlatform);
            if (toolProvider == null) {
                toolProvider = createPlatformToolProvider(targetPlatform);
                toolProviders.put(targetPlatform, toolProvider);
            }
            return toolProvider;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. 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)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/DefaultNativeToolChainRegistry.java

            private final NativePlatform targetPlatform;
            private final Map<String, PlatformToolProvider> candidates;
    
            private AbstractUnavailabilityToolChainSearchDescription(NativeLanguage sourceLanguage, NativePlatform targetPlatform, Map<String, PlatformToolProvider> candidates) {
                this.sourceLanguage = sourceLanguage;
                this.targetPlatform = targetPlatform;
                this.candidates = candidates;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top