Home
last modified time | relevance | path

Searched +full:build +full:- +full:swift (Results 1 – 25 of 265) sorted by relevance

1234567891011

/external/tensorflow/tensorflow/lite/swift/
DREADME.md1 # TensorFlow Lite for Swift
4 solution for Swift developers. It enables low-latency inference of on-device
8 ## Build TensorFlow with iOS support
10 To build the Swift TensorFlow Lite library on Apple platforms,
20 Follow the prompts and when asked to build TensorFlow with iOS support, enter `y`.
32 In your Swift files, import the module:
34 ```swift
40 In your `BUILD` file, add the `TensorFlowLite` dependency to your target:
45 "//tensorflow/lite/swift:TensorFlowLite",
50 In your Swift files, import the module:
[all …]
DBUILD.apple1 # TensorFlow Lite for Swift
6 load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
24 # To build with the Metal delegate pass --define=use_metal_delegate=1
25 # To build with the CoreML delegate pass --define=use_coreml_delegate=1
30 "Sources/*.swift",
33 "Sources/CoreMLDelegate.swift",
34 "Sources/MetalDelegate.swift",
38 "Sources/CoreMLDelegate.swift",
43 "Sources/MetalDelegate.swift",
49 "-Wl,-weak_framework,CoreML",
[all …]
/external/oss-fuzz/docs/getting-started/new-project-guide/
Dswift.md1 ---
3 title: Integrating a Swift project
7 permalink: /getting-started/new-project-guide/swift/
8 ---
10 # Integrating a Swift project
13 - TOC
15 ---
17 The process of integrating a project written in Swift with OSS-Fuzz is very similar
19 [Setting up a new project]({{ site.baseurl }}/getting-started/new-project-guide/)
20 process. The key specifics of integrating a Swift project are outlined below.
[all …]
/external/oss-fuzz/projects/swift-nio/
Dbuild.sh1 #!/bin/bash -eu
8 # http://www.apache.org/licenses/LICENSE-2.0
18 # build project
19 mkdir swift-nio-fuzz
20 cd swift-nio-fuzz
21 swift package init --type=executable
22 rm -Rf Sources/swift-nio-fuzz
23 mkdir Sources/swift-nio-http1-fuzz
24 cp $SRC/fuzz_http1.swift Sources/swift-nio-http1-fuzz/main.swift
25 cp $SRC/Package.swift Package.swift
[all …]
DPackage.swift1 // swift-tools-version:5.3
2 // The swift-tools-version declares the minimum version of Swift required to build this package.
7 name: "swift-nio-fuzz",
10 .package(name: "swift-nio", path: ".."),
16 name: "swift-nio-http1-fuzz",
17 dependencies: [.product(name: "NIOHTTP1", package: "swift-nio")]),
/external/flatbuffers/tests/FlatBuffers.Test.Swift/
DSwiftTest.sh5 shopt -s expand_aliases
8 fbc --swift --gen-mutable --grpc --gen-json-emit --gen-object-api -I ${test_dir}/include_test ${tes…
9 fbc --swift --gen-json-emit ${test_dir}/optional_scalars.fbs
10 fbc --swift --gen-json-emit --gen-object-api ${test_dir}/more_defaults.fbs
11 fbc --swift --gen-json-emit --gen-mutable --gen-object-api ${test_dir}/MutatingBool.fbs
12 fbc --swift ${test_dir}/vector_has_test.fbs
17 fbc --swift --gen-mutable --grpc --gen-json-emit --gen-object-api --swift-implementation-only test_…
18 fbc --swift --gen-mutable --grpc --gen-json-emit --gen-object-api --no-includes test_no_include.fbs
23 fbc --swift --gen-json-emit fuzzer.fbs
26 cd ${test_dir}/Flatbuffers.Test.Swift.WASM/Tests/FlatBuffers.Test.Swift.WASMTests
[all …]
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dbuild_ios.md1 # Build TensorFlow Lite for iOS
3 This document describes how to build TensorFlow Lite iOS library on your own.
4 Normally, you do not need to locally build TensorFlow Lite iOS library. If you
11 In some cases, you might wish to use a local build of TensorFlow Lite, for
15 you need to build it using Bazel on a macOS machine.
20 using `xcode-select`:
23 xcode-select --install
30 sudo xcodebuild -license accept
35 Bazel is the primary build system for TensorFlow. Install Bazel as per the
36 [instructions on the Bazel website][bazel-install]. Make sure to choose a
[all …]
/external/skia/docker/
DREADME.md5 ## skia-release
7 This image is used to build Skia at TOT with SwiftShader.
12 docker build -t skia-release ./docker/skia-release/
13 docker tag skia-release gcr.io/skia-public/skia-release:prod
14 docker push gcr.io/skia-public/skia-release:prod
16 ## skia-wasm-release
18 This image is used to build the Web Assembly (WASM) libraries of Skia
24 docker build -t skia-wasm-release ./docker/skia-wasm-release/
25 docker tag skia-wasm-release gcr.io/skia-public/skia-wasm-release:prod
26 docker push gcr.io/skia-public/skia-wasm-release:prod
[all …]
/external/tensorflow/tensorflow/lite/swift/docsgen/TensorFlowLiteSwift/TensorFlowLiteSwift.xcodeproj/
Dproject.pbxproj14 …74D009B47A6 /* Interpreter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DCE71A22604074D00…
15 …2604074D009B47A6 /* Delegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DCE71A32604074D…
16 …009B47A6 /* MetalDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DCE71A42604074D009…
17 …uantizationParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DCE71A52604074D009B47A…
18 …09B47A6 /* TensorFlowLite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DCE71A62604074D009…
19 …71B02604074D009B47A6 /* Model.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DCE71A72604074…
20 …47A6 /* InterpreterError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DCE71A82604074D009B…
21 …09B47A6 /* CoreMLDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DCE71A92604074D009…
22 …1B32604074D009B47A6 /* Tensor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DCE71AA2604074…
27 …; name = TensorFlowLiteCCoreML.framework; path = "Frameworks/TensorFlowLiteC-2.4.0/Frameworks/Tens…
[all …]
/external/skia/docker/skia-with-swift-shader-base/
Dbuild-with-swift-shader-and-run9 # to use Swiftshade w/o having to over-write /usr/local/lib/libEGL.so and related on the
19 # build-with-swift-shader-and-run "out/with-swift-shader/fuzz --gpuInfo -t api -n NativeGLCanvas"
22 # After running the above, feel free to check out $SKIA_OUT/out/with-swift-shader. It has binaries
23 # but if you try to run out/with-swift-shader/fuzz --gpuInfo -t api -n NativeGLCanvas w/o using
28 # build-with-swift-shader-and-run "out/with-swift-shader/fuzz -t filter_fuzz -b /skia/skbug_1234"
30 # $SKIA_ROOT gets mapped to /skia - other than that, the docker container does not have
34 IMAGE = 'gcr.io/skia-public/skia-with-swift-shader-base:prod'
36 BUILD_SCRIPT_PATH = '/skia/docker/skia-with-swift-shader-base/build.sh'
37 EXECUTABLE_DIR = 'out/with-swift-shader/'
40 parser.add_argument('--sync_deps', action='store_true', help='Sync the deps before building?')
[all …]
/external/grpc-grpc/src/objective-c/examples/SwiftUseFrameworks/SwiftUseFrameworks.xcodeproj/
Dproject.pbxproj10 …E6500A6D01F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F54974C2ADC8E6500…
11 …00A6D01F /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F54974E2ADC8E6500A…
12 …0A6D01F /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F5497502ADC8E6500A…
20 …E6500A6D01F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swif…
21 …00A6D01F /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift
22 …0A6D01F /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift
59 0F54974C2ADC8E6500A6D01F /* AppDelegate.swift */,
60 0F54974E2ADC8E6500A6D01F /* SceneDelegate.swift */,
61 0F5497502ADC8E6500A6D01F /* ViewController.swift */,
75 …buildConfigurationList = 0F54975D2ADC8E6500A6D01F /* Build configuration list for PBXNativeTarget …
[all …]
/external/cronet/build/config/ios/
DBUILD.gn2 # Use of this source code is governed by a BSD-style license that can be
5 import("//build/config/ios/ios_sdk.gni")
6 import("//build/toolchain/apple/toolchain.gni")
7 import("//build/toolchain/goma.gni")
8 import("//build/toolchain/rbe.gni")
9 import("//build/toolchain/siso.gni")
10 import("//build/toolchain/toolchain.gni")
11 import("//build_overrides/build.gni")
13 # This is included by reference in the //build/config/compiler config that
34 triplet_environment = "-simulator"
[all …]
/external/angle/build/config/ios/
DBUILD.gn2 # Use of this source code is governed by a BSD-style license that can be
5 import("//build/config/ios/ios_sdk.gni")
6 import("//build/toolchain/apple/toolchain.gni")
7 import("//build/toolchain/rbe.gni")
8 import("//build/toolchain/siso.gni")
9 import("//build/toolchain/toolchain.gni")
10 import("//build_overrides/build.gni")
12 # This is included by reference in the //build/config/compiler config that
33 triplet_environment = "-simulator"
37 triplet_environment = "-macabi"
[all …]
/external/oss-fuzz/infra/base-images/base-builder/
Dinstall_swift.sh1 #!/bin/bash -eux
8 # http://www.apache.org/licenses/LICENSE-2.0
23 libc6-dev \
26 libgcc-9-dev \
28 libsqlite3-0 \
29 libstdc++-9-dev \
31 libz3-dev \
32 pkg-config \
34 zlib1g-dev"
35 SWIFT_SYMBOLIZER_PACKAGES="build-essential make cmake ninja-build git python3 g++-multilib binutils
[all …]
/external/tensorflow/tensorflow/lite/swift/docsgen/
DREADME.md6 To browse the Swift reference documentation visit
7 https://www.tensorflow.org/lite/api_docs/swift.
10 TensorFlowLiteSwift via Jazzy, an open-source tool that hooks into Xcode's
11 build tooling to parse doc comments. Unfortunately, TensorFlowLiteSwift is not
12 primarily developed via xcodebuild, so the docs build can potentially become
16 - Every new file added to TensorFlowLiteSwift's BUILD must also manually be
18 - This project (and the resulting documentation) does not split types by
21 - The TensorFlowLiteC dependency is included in binary form, contributing
26 Swift module:
30 --swift-build-tool xcodebuild \
[all …]
/external/angle/build/toolchain/ios/
Dswiftc.py2 # Use of this source code is governed by a BSD-style license that can be
24 - arg_name: string corresponding to the argument to pass to the compiler
25 - arg_join: function taking the compiler name and returning whether the
27 - to_swift: function taking the argument value and returning whether it
28 must be passed to the swift compiler
29 - to_clang: function taking the argument value and returning whether it
46 if self._arg_join('swift'):
54 swiftc_args.append('-Xcc')
57 swiftc_args.append('-Xcc')
59 swiftc_args.append('-Xcc')
[all …]
/external/angle/build/toolchain/apple/
Dtoolchain.gni2 # Use of this source code is governed by a BSD-style license that can be
9 import("//build/config/apple/symbols.gni")
10 import("//build/config/clang/clang.gni")
11 import("//build/config/compiler/compiler.gni")
12 import("//build/config/coverage/coverage.gni")
13 import("//build/config/rust.gni")
14 import("//build/toolchain/cc_wrapper.gni")
15 import("//build/toolchain/rbe.gni")
16 import("//build/toolchain/toolchain.gni")
17 import("//build_overrides/build.gni")
[all …]
/external/rust/crates/uniffi/
DREADME.md1 # UniFFI - a multi-language bindings generator for Rust
3 UniFFI is a toolkit for building cross-platform software components in Rust.
5 For the impatient, see [**the UniFFI user guide**](https://mozilla.github.io/uniffi-rs/)
6 …*the UniFFI examples**](https://github.com/mozilla/uniffi-rs/tree/main/examples#example-uniffi-com…
14 …ect model in an [interface definition file](https://mozilla.github.io/uniffi-rs/udl_file_spec.html)
15 or [by using proc-macros](https://mozilla.github.io/uniffi-rs/proc_macro/index.html).
18 written once in Rust, auto-generated bindings allow that functionality to be called
19 from both Kotlin (for Android apps) and Swift (for iOS apps).
22 UniFFI comes with support for **Kotlin**, **Swift**, **Python** and **Ruby** with 3rd party binding…
24 See [Third-party foreign language bindings](#third-party-foreign-language-bindings).
[all …]
/external/rust/crates/uniffi_checksum_derive/
DREADME.md1 # UniFFI - a multi-language bindings generator for Rust
3 UniFFI is a toolkit for building cross-platform software components in Rust.
5 For the impatient, see [**the UniFFI user guide**](https://mozilla.github.io/uniffi-rs/)
6 …*the UniFFI examples**](https://github.com/mozilla/uniffi-rs/tree/main/examples#example-uniffi-com…
14 …ect model in an [interface definition file](https://mozilla.github.io/uniffi-rs/udl_file_spec.html)
15 or [by using proc-macros](https://mozilla.github.io/uniffi-rs/proc_macro/index.html).
18 written once in Rust, auto-generated bindings allow that functionality to be called
19 from both Kotlin (for Android apps) and Swift (for iOS apps).
22 UniFFI comes with support for **Kotlin**, **Swift**, **Python** and **Ruby** with 3rd party binding…
24 See [Third-party foreign language bindings](#third-party-foreign-language-bindings).
[all …]
/external/rust/crates/uniffi_meta/
DREADME.md1 # UniFFI - a multi-language bindings generator for Rust
3 UniFFI is a toolkit for building cross-platform software components in Rust.
5 For the impatient, see [**the UniFFI user guide**](https://mozilla.github.io/uniffi-rs/)
6 …*the UniFFI examples**](https://github.com/mozilla/uniffi-rs/tree/main/examples#example-uniffi-com…
14 …ect model in an [interface definition file](https://mozilla.github.io/uniffi-rs/udl_file_spec.html)
15 or [by using proc-macros](https://mozilla.github.io/uniffi-rs/proc_macro/index.html).
18 written once in Rust, auto-generated bindings allow that functionality to be called
19 from both Kotlin (for Android apps) and Swift (for iOS apps).
22 UniFFI comes with support for **Kotlin**, **Swift**, **Python** and **Ruby** with 3rd party binding…
24 See [Third-party foreign language bindings](#third-party-foreign-language-bindings).
[all …]
/external/rust/crates/uniffi_core/
DREADME.md1 # UniFFI - a multi-language bindings generator for Rust
3 UniFFI is a toolkit for building cross-platform software components in Rust.
5 For the impatient, see [**the UniFFI user guide**](https://mozilla.github.io/uniffi-rs/)
6 …*the UniFFI examples**](https://github.com/mozilla/uniffi-rs/tree/main/examples#example-uniffi-com…
14 …ect model in an [interface definition file](https://mozilla.github.io/uniffi-rs/udl_file_spec.html)
15 or [by using proc-macros](https://mozilla.github.io/uniffi-rs/proc_macro/index.html).
18 written once in Rust, auto-generated bindings allow that functionality to be called
19 from both Kotlin (for Android apps) and Swift (for iOS apps).
22 UniFFI comes with support for **Kotlin**, **Swift**, **Python** and **Ruby** with 3rd party binding…
24 See [Third-party foreign language bindings](#third-party-foreign-language-bindings).
[all …]
/external/rust/crates/uniffi_macros/
DREADME.md1 # UniFFI - a multi-language bindings generator for Rust
3 UniFFI is a toolkit for building cross-platform software components in Rust.
5 For the impatient, see [**the UniFFI user guide**](https://mozilla.github.io/uniffi-rs/)
6 …*the UniFFI examples**](https://github.com/mozilla/uniffi-rs/tree/main/examples#example-uniffi-com…
14 …ect model in an [interface definition file](https://mozilla.github.io/uniffi-rs/udl_file_spec.html)
15 or [by using proc-macros](https://mozilla.github.io/uniffi-rs/proc_macro/index.html).
18 written once in Rust, auto-generated bindings allow that functionality to be called
19 from both Kotlin (for Android apps) and Swift (for iOS apps).
22 UniFFI comes with support for **Kotlin**, **Swift**, **Python** and **Ruby** with 3rd party binding…
24 See [Third-party foreign language bindings](#third-party-foreign-language-bindings).
[all …]
/external/nanopb-c/.github/workflows/
Dspm.yml8 swift-build-run:
9 runs-on: macOS-latest
11 - uses: actions/checkout@v2
12 - name: Build
13 run: swift build
14 - name: Run
15 run: swift test
/external/grpc-grpc/src/objective-c/examples/SwiftSample/SwiftSample.xcodeproj/
Dproject.pbxproj11 …B210007E424 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 633BFFC71B950B2100…
12 …007E424 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 633BFFC91B950B21000…
20 …B210007E424 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swif…
21 …007E424 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift
24-SwiftSample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = …
26-SwiftSample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType …
44 A7E614A494D89D01BB395761 /* Pods-SwiftSample.debug.xcconfig */,
45 C314E3E246AF23AC29B38FCF /* Pods-SwiftSample.release.xcconfig */,
71 633BFFC71B950B210007E424 /* AppDelegate.swift */,
72 633BFFC91B950B210007E424 /* ViewController.swift */,
[all …]
/external/flatbuffers/docs/source/
DSwiftUsage.md1 Use in Swift {#flatbuffers_guide_use_swift}
6 Before diving into the FlatBuffers usage in Swift, it should be noted that
8 to general FlatBuffers usage in all of the supported languages (including Swift).
10 Swift.
13 documentation to build `flatc` and should be familiar with
17 ## FlatBuffers Swift library code location
19 The code for the FlatBuffers Swift library can be found at
20 `flatbuffers/swift`. You can browse the library code on the [FlatBuffers
21 GitHub page](https://github.com/google/flatbuffers/tree/master/swift).
23 ## Testing the FlatBuffers Swift library
[all …]

1234567891011