- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 44 for NewCompiler (0.52 sec)
-
platforms/native/language-native/src/test/groovy/org/gradle/language/objectivecpp/tasks/ObjectiveCppCompileTest.groovy
platform.getOperatingSystem() >> Mock(OperatingSystemInternal) { getName() >> "os" } 2 * toolChain.select(platform) >> platformToolChain 2 * platformToolChain.newCompiler({ ObjectiveCppCompileSpec.class.isAssignableFrom(it) }) >> objCppCompiler pch.includeString >> "header" pch.prefixHeaderFile >> temporaryFolder.file("prefixHeader").createFile()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/jvm/scala/src/main/java/org/gradle/api/tasks/scala/ScalaCompile.java
getZincClasspath(), forkOptionsFactory, classPathRegistry, classLoaderRegistry, getServices().get(ClasspathHasher.class)); compiler = scalaCompilerFactory.newCompiler(spec); } return compiler; } protected void assertScalaClasspathIsNonEmpty() { if (getScalaClasspath().isEmpty()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:52:50 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/StripSymbols.java
NativeToolChainInternal toolChain = Cast.cast(NativeToolChainInternal.class, getToolChain().get()); PlatformToolProvider toolProvider = toolChain.select(targetPlatform); return toolProvider.newCompiler(StripperSpec.class); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/tasks/AbstractNativeSourceCompileTask.java
PlatformToolProvider toolProvider = toolChain.select(targetPlatform); Compiler<? extends NativeCompileSpec> compiler = toolProvider.newCompiler(createCompileSpec().getClass()); if (!(compiler instanceof VersionAwareCompiler)) { return null; } return ((VersionAwareCompiler) compiler).getVersion(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/tasks/CppCompileTest.groovy
platform.getOperatingSystem() >> Mock(OperatingSystemInternal) { getName() >> "os" } 2 * toolChain.select(platform) >> platformToolChain 2 * platformToolChain.newCompiler({ CppCompileSpec.class.isAssignableFrom(it) }) >> cppCompiler pch.includeString >> "header" pch.prefixHeaderFile >> temporaryFolder.file("prefixHeader").createFile()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/tasks/AbstractNativeCompileTask.java
this.targetPlatform = objectFactory.property(NativePlatform.class); this.toolChain = objectFactory.property(NativeToolChain.class); this.incrementalCompiler = getIncrementalCompilerBuilder().newCompiler(this, source, includes.plus(systemIncludes), macros, toolChain.map(new Transformer<Boolean, NativeToolChain>() { @Override public Boolean transform(NativeToolChain nativeToolChain) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 10.6K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/UnavailablePlatformToolProvider.java
throw new IllegalArgumentException(String.format("Don't know how to provide tool of type %s.", toolType.getSimpleName())); } @Override public <T extends CompileSpec> Compiler<T> newCompiler(Class<T> specType) { throw failure(); } @Override public CommandLineToolSearchResult locateTool(ToolType compilerType) { return this; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/ExtractSymbols.java
NativeToolChainInternal toolChain = Cast.cast(NativeToolChainInternal.class, getToolChain().get()); PlatformToolProvider toolProvider = toolChain.select(targetPlatform); return toolProvider.newCompiler(SymbolExtractorSpec.class); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/CreateStaticLibrary.java
NativeToolChainInternal toolChain = Cast.cast(NativeToolChainInternal.class, getToolChain().get()); PlatformToolProvider toolProvider = toolChain.select(targetPlatform); return toolProvider.newCompiler(StaticLibraryArchiverSpec.class); } /** * The tool chain used for linking. * * @since 4.7 */ @Internal public Property<NativeToolChain> getToolChain() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/assembler/tasks/Assemble.java
NativePlatformInternal nativePlatform = (NativePlatformInternal) targetPlatform.get(); Compiler<AssembleSpec> compiler = nativeToolChain.select(nativePlatform).newCompiler(AssembleSpec.class); WorkResult result = BuildOperationLoggingCompilerDecorator.wrap(compiler).execute(spec); setDidWork(result.getDidWork() || cleanedOutputs); } @InputFiles
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6.7K bytes - Viewed (0)