Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for with_environment (0.59 sec)

  1. tensorflow/compiler/mlir/runlit.cfg.py

    else:
      llvm_config.use_default_substitutions()
    
    llvm_config.config.substitutions.append(
        ('%tfrt_bindir', 'tensorflow/compiler/aot'))
    
    # Tweak the PATH to include the tools dir.
    llvm_config.with_environment('PATH', config.llvm_tools_dir, append_path=True)
    
    tool_dirs = config.mlir_tf_tools_dirs + [
        config.mlir_tools_dir, config.llvm_tools_dir
    ]
    tool_names = [
        'dtensor-opt',
        'flatbuffer_to_string',
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 18:52:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerEnvironmentVariablesIntegrationTest.groovy

            buildScript "file('env.txt') << System.getenv('dummyEnvVar')"
    
            when:
            runner().withEnvironment(dummyEnvVar: "env var OK").build()
    
            then:
            file('env.txt').text == "env var OK"
        }
    
        @Debug
        def "debug mode is not allowed with env vars"() {
            when:
            runner().withEnvironment(dummyEnvVar: "env var OK").build()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsTestKitInjectedJavaPluginIntegrationTest.groovy

                def args = allArgs
                args.remove("--no-daemon")
                runner.withArguments(args)
                runner.withPluginClasspath(pluginClasspath)
                runner.withEnvironment(environmentVars)
                runner.forwardOutput()
                runner
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/SmokeTestGradleRunner.groovy

        @Override
        @Nullable
        Map<String, String> getEnvironment() {
            return delegate.getEnvironment()
        }
    
        @Override
        SmokeTestGradleRunner withEnvironment(@Nullable Map<String, String> environmentVariables) {
            delegate.withEnvironment(environmentVariables)
            return this
        }
    
        @Override
        SmokeTestGradleRunner forwardStdOutput(Writer writer) {
            delegate.forwardStdOutput(writer)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/GradleRunner.java

         * It can be enabled by setting the system property {@code org.gradle.testkit.debug} to {@code true} for the test process,
         * or by using the {@link #withDebug(boolean)} method.
         * <p>
         * When {@link #withEnvironment(Map)} is specified, running with debug is not allowed.
         * Debug mode runs "in process" and we need to fork a separate process to pass environment variables.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/DefaultGradleRunner.java

            this.debug = flag;
            return this;
        }
    
        @Override
        public Map<String, String> getEnvironment() {
            return environment;
        }
    
        @Override
        public GradleRunner withEnvironment(Map<String, String> environment) {
            this.environment = environment;
            return this;
        }
    
        @Override
        public GradleRunner forwardStdOutput(Writer writer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top