- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for TargetMachine (0.47 sec)
-
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/TargetMachine.java
import org.gradle.api.tasks.Nested; /** * Represents a combination of operating system and cpu architecture that a variant might be built for. * * @since 5.1 */ public interface TargetMachine { /** * Returns the target operating system */ @Nested OperatingSystemFamily getOperatingSystemFamily(); /** * Returns the target architecture */ @Nested
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/swift/internal/DefaultSwiftPlatform.java
} public DefaultSwiftPlatform(TargetMachine targetMachine, SwiftVersion sourceCompatibility, NativePlatform nativePlatform) { this.targetMachine = targetMachine; this.nativePlatform = nativePlatform; this.sourceCompatibility = sourceCompatibility; } @Override public TargetMachine getTargetMachine() { return targetMachine; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/cpp/internal/DefaultCppPlatform.java
import org.gradle.language.cpp.CppPlatform; import org.gradle.nativeplatform.TargetMachine; import org.gradle.nativeplatform.platform.NativePlatform; public class DefaultCppPlatform implements CppPlatform { private final TargetMachine targetMachine; private final NativePlatform nativePlatform; public DefaultCppPlatform(TargetMachine targetMachine) { this(targetMachine, null); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/TargetMachineBuilder.java
/** * A builder for configuring the architecture of a {@link TargetMachine} objects. * * @since 5.2 */ public interface TargetMachineBuilder extends TargetMachine { /** * Returns a {@link TargetMachine} for the operating system of this machine and the x86 32-bit architecture */ TargetMachine getX86(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/Dimensions.java
private static Set<MachineArchitecture> targetMachinesToArchitectures(Collection<TargetMachine> targetMachines) { return targetMachines.stream().map(TargetMachine::getArchitecture).collect(Collectors.toSet()); } private static void addCommonAttributes(BuildType buildType, TargetMachine targetMachine, AttributeContainer runtimeAttributes) { runtimeAttributes.attribute(DEBUGGABLE_ATTRIBUTE, buildType.isDebuggable());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.9K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/cpp/internal/NativeVariantIdentity.java
this.name = name; this.baseName = baseName; this.group = group; this.version = version; this.debuggable = debuggable; this.optimized = optimized; this.targetMachine = targetMachine; this.linkVariant = linkVariant;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/toolchains/DefaultToolChainSelectorTest.groovy
class DefaultToolChainSelectorTest extends Specification { def modelRegistry = Stub(ModelRegistry) def osFamily = Stub(OperatingSystemFamily) def machineArchitecture = Stub(MachineArchitecture) def targetMachine = Stub(TargetMachine) { getArchitecture() >> machineArchitecture getOperatingSystemFamily() >> osFamily } def os = Stub(OperatingSystemInternal) def arch = Stub(ArchitectureInternal)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/DefaultNativeToolChainRegistry.java
} @Override public NativeToolChainInternal getForPlatform(NativeLanguage sourceLanguage, NativePlatformInternal targetMachine) { for (NativeToolChainInternal toolChain : searchOrder) { if (toolChain.select(sourceLanguage, targetMachine).isAvailable()) { return toolChain; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 9K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/DefaultTargetMachineFactory.java
public DefaultTargetMachineFactory(ObjectFactory objectFactory) { this.objectFactory = objectFactory; } /** * Returns a {@link TargetMachine} representing the operating system and architecture of the current host. */ public TargetMachine host() { DefaultNativePlatform host = DefaultNativePlatform.host();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cpp/internal/DefaultCppTestSuiteTest.groovy
return Stub(NativeVariantIdentity) { getTargetMachine() >> targetMachine(OperatingSystemFamily.WINDOWS, MachineArchitecture.X86_64) } } private TargetMachine targetMachine(String os, String arch) { def objectFactory = TestUtil.objectFactory() return Stub(TargetMachine) { getOperatingSystemFamily() >> objectFactory.named(OperatingSystemFamily.class, os)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.7K bytes - Viewed (0)