Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for getArchitecture (0.28 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppInstall.java

            }
            return platforms.get(getPlatformArchitecture(targetPlatform));
        }
    
        private Architecture getPlatformArchitecture(NativePlatformInternal targetPlatform) {
            return targetPlatform.getArchitecture();
        }
    
        private VisualCpp getDescriptor(NativePlatformInternal targetPlatform) {
            return platforms.get(getPlatformArchitecture(targetPlatform));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/tasks/CppPreCompiledHeaderCompileTest.groovy

            cppPCHCompile.source sourceFile
            execute(cppPCHCompile)
    
            then:
            _ * toolChain.outputType >> "cpp"
            platform.getName() >> "testPlatform"
            platform.getArchitecture() >> Mock(ArchitectureInternal) { getName() >> "arch" }
            platform.getOperatingSystem() >> Mock(OperatingSystemInternal) { getName() >> "os" }
            1 * toolChain.select(platform) >> platformToolChain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/platform/NativePlatform.java

    public interface NativePlatform extends Platform, Describable {
        /**
         * The cpu architecture being targeted. Defaults to the default architecture produced by the tool chain.
         */
        @Nested
        Architecture getArchitecture();
    
        /**
         * Sets the cpu architecture being targeted.
         * <p>
         * The architecture is provided as a string name, which is translated into one of the supported architecture types.
         * </p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/objectivec/tasks/ObjectiveCPreCompiledHeaderCompileTest.groovy

            objCPCHCompile.source sourceFile
            execute(objCPCHCompile)
    
            then:
            _ * toolChain.outputType >> "c"
            platform.getName() >> "testPlatform"
            platform.getArchitecture() >> Mock(ArchitectureInternal) { getName() >> "arch" }
            platform.getOperatingSystem() >> Mock(OperatingSystemInternal) { getName() >> "os" }
            1 * toolChain.select(platform) >> platformToolChain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/objectivecpp/tasks/ObjectiveCppPreCompiledHeaderCompileTest.groovy

            objCppPCHCompile.source sourceFile
            execute(objCppPCHCompile)
    
            then:
            _ * toolChain.outputType >> "objcpp"
            platform.getName() >> "testPlatform"
            platform.getArchitecture() >> Mock(ArchitectureInternal) { getName() >> "arch" }
            platform.getOperatingSystem() >> Mock(OperatingSystemInternal) { getName() >> "os" }
            1 * toolChain.select(platform) >> platformToolChain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/AbstractGccCompatibleToolChain.java

            @Override
            public boolean supportsPlatform(NativePlatformInternal targetPlatform) {
                return targetPlatform.getOperatingSystem().isCurrent() && targetPlatform.getArchitecture().isI386();
            }
    
            @Override
            public void apply(DefaultGccPlatformToolChain gccToolChain) {
                gccToolChain.compilerProbeArgs("-m32");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 20K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/test/groovy/org/gradle/language/c/tasks/CCompileTest.groovy

            cCompile.setPreCompiledHeader pch
            execute(cCompile)
    
            then:
            _ * toolChain.outputType >> "c"
            platform.getName() >> "testPlatform"
            platform.getArchitecture() >> Mock(ArchitectureInternal) { getName() >> "arch" }
            platform.getOperatingSystem() >> Mock(OperatingSystemInternal) { getName() >> "os" }
            2 * toolChain.select(platform) >> platformToolChain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/xctest/internal/DefaultSwiftXCTestSuiteTest.groovy

            def objectFactory = TestUtil.objectFactory()
            return Stub(TargetMachine) {
                getOperatingSystemFamily() >> objectFactory.named(OperatingSystemFamily.class, os)
                getArchitecture() >> objectFactory.named(MachineArchitecture.class, arch)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/assembler/tasks/AssemblerTest.groovy

            assembleTask.source inputDir
            execute(assembleTask)
    
            then:
            _ * toolChain.outputType >> "c"
            platform.getName() >> "testPlatform"
            platform.getArchitecture() >> Mock(ArchitectureInternal) { getName() >> "arch" }
            platform.getOperatingSystem() >> Mock(OperatingSystemInternal) { getName() >> "os" }
            1 * toolChain.select(platform) >> platformToolChain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/test/groovy/org/gradle/language/c/tasks/CPreCompiledHeaderCompileTest.groovy

            cPCHCompile.source sourceFile
            execute(cPCHCompile)
    
            then:
            _ * toolChain.outputType >> "c"
            platform.getName() >> "testPlatform"
            platform.getArchitecture() >> Mock(ArchitectureInternal) { getName() >> "arch" }
            platform.getOperatingSystem() >> Mock(OperatingSystemInternal) { getName() >> "os" }
            1 * toolChain.select(platform) >> platformToolChain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top