Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 723 for Compilation (2.94 sec)

  1. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/IncrementalGroovyCompileIntegrationTest.groovy

            failure.assertHasDescription("Execution failed for task ':compileGroovy'.");
        }
    
        @Test
        void failsCompilationWhenConfigScriptIsUpdated() {
            // compilation passes with a config script that does nothing
            executer.withTasks('compileGroovy').run().assertTasksExecutedInOrder(":compileJava",":compileGroovy")
    
            // make sure it fails if the config script applies type checking
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/pjrt_compile_util.h

    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Compiles a `function` to PjRtLoadedExecutable `executable` with `ctx`.
    // The compilation result is output in `compilation_result`. The PJRT client
    // used for compilation is output in `client`. The PJRT executable is output in
    // `executable`.
    Status CompileToPjRtLoadedExecutable(
        const OpKernelContext& ctx, const XlaPlatformInfo& platform_info,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/tasks/compile/GroovyCompileTest.groovy

     */
    
    package org.gradle.api.tasks.compile
    
    import org.gradle.test.fixtures.AbstractProjectBuilderSpec
    
    class GroovyCompileTest extends AbstractProjectBuilderSpec {
    
        def "incremental compilation is disabled and incrementalAfterFailure is enabled by default"() {
            def groovyCompile = project.tasks.create("compileGroovy", GroovyCompile)
    
            expect:
            !groovyCompile.options.incremental
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/performance/resolveAtBuildTime/groovy/build.gradle

        // is not compatible with the configuration cache.
        FileCollection compileClasspath = configurations.compileClasspath
        from(compileClasspath)
        doFirst {
            println ">> Compilation deps: ${compileClasspath.files.name}"
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 598 bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/recomp/CurrentCompilationAccess.java

            Timer clock = Time.startTimer();
            ClassSetAnalysisData snapshot = classSetAnalyzer.analyzeOutputFolder(outputFolder);
            LOG.info("Class dependency analysis for incremental compilation took {}.", clock.getElapsed());
            return snapshot;
        }
    
    
        public ClassSetAnalysisData getClasspathSnapshot(final Iterable<File> entries) {
            if (classpathSnapshot == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h

      // graph.
      bool unconditionally_use_set_output_shapes = false;
      // If set, use the value as the device type and mark the function graph for
      // XLA compilation.
      string xla_compile_device_type;
      // If true, enables moving ops to different devices or moving unsupported ops
      // out of a compilation cluster.
      bool enable_soft_placement = false;
      // If true, a function attribute, `tf._original_func_name`, will be set in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:56:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/GroovyJavaJointCompileSourceOrderIntegrationTest.groovy

            succeeds "compile"
            def reversedAgainBytes = resultClass.bytes
    
            then:
            reversedAgainBytes == originalBytes
        }
    
        def "groovy and java source directory compilation order can be reversed (task configuration #configurationStyle)"() {
            given:
            file("src/main/groovy/Groovy.groovy") << "class Groovy { }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ScalaCompileWithJavaLibraryIntegrationTest.groovy

            when:
            run ":compileJava"
    
            then:
            executedAndNotSkipped(":lib:compileScala")
            notExecuted(":lib:processResources", ":lib:jar")
        }
    
        def "scala and java source directory compilation order can be reversed (task configuration #configurationStyle)"() {
            given:
            file("src/main/scala/Scala.scala") << "class Scala { }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/CachedScalaCompileIntegrationTest.groovy

                    def main(args: Array[String]): Unit = {
                        print("Hello!")
                    }
                }
            """.stripIndent()
            }
        }
    
        def "joint Java and Scala compilation can be cached"() {
            given:
            buildScript """
                plugins {
                    id 'scala'
                }
    
                ${mavenCentralRepository()}
    
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/performance/resolveAtConfigurationTime/groovy/build.gradle

        id('java')
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        implementation 'org.apache.commons:commons-lang3:3.11'
    }
    
    // tag::copy[]
    tasks.register('copyFiles', Copy) {
        println ">> Compilation deps: ${configurations.compileClasspath.files.name}"
        into(layout.buildDirectory.dir('output'))
        from(configurations.compileClasspath)
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 379 bytes
    - Viewed (0)
Back to top