Home
last modified time | relevance | path

Searched full:emscripten (Results 1 – 25 of 585) sorted by relevance

12345678910>>...24

/external/python/cpython3/Tools/wasm/
DREADME.md6 compilation of CPython to WebAssembly (WASM). Python supports Emscripten
7 (*wasm32-emscripten*) and WASI (*wasm32-wasi*) targets. Emscripten builds
15 ## wasm32-emscripten build
17 For now the build system has two target flavors. The ``Emscripten/browser``
18 target (``--with-emscripten-target=browser``) is optimized for browsers.
20 support. The ``Emscripten/node`` target has threading enabled and can
23 Cross compiling to the wasm32-emscripten platform needs the
24 [Emscripten](https://emscripten.org/) SDK and a build Python interpreter.
25 Emscripten 3.1.19 or newer are recommended. All commands below are relative
28 Christian Heimes maintains a container image with Emscripten SDK, Python
[all …]
Dwasm_build.py4 $ ./Tools/wasm/wasm_builder.py emscripten-browser build repl
5 $ ./Tools/wasm/wasm_builder.py emscripten-node-dl build test
8 Primary build targets are "emscripten-node-dl" (NodeJS, dynamic linking),
9 "emscripten-browser", and "wasi".
11 Emscripten builds require a recent Emscripten SDK. The tools looks for an
58 # path to Emscripten SDK config file.
60 EM_CONFIG = pathlib.Path(os.environ.setdefault("EM_CONFIG", "/opt/emsdk/.emscripten"))
63 (3, 1, 14): "https://github.com/emscripten-core/emscripten/issues/17338",
64 (3, 1, 16): "https://github.com/emscripten-core/emscripten/issues/17393",
65 (3, 1, 20): "https://github.com/emscripten-core/emscripten/issues/17720",
[all …]
Dconfig.site-wasm32-emscripten1 # config.site override for cross compiling to wasm32-emscripten platform
3 # CONFIG_SITE=Tools/wasm/config.site-wasm32-emscripten \
4 # emconfigure ./configure --host=wasm32-unknown-emscripten --build=...
13 # Emscripten has no /dev/pt*
17 # dummy readelf, Emscripten build does not need readelf.
27 # unsupported syscall, https://github.com/emscripten-core/emscripten/issues/13393
57 # Syscalls not implemented in emscripten
98 # Emscripten does not support hard links, always fails with errno 34
103 # Emscripten's faccessat does not accept AT_* flags.
/external/python/bumble/
Dsetup.cfg34 aiohttp ~= 3.8; platform_system!='Emscripten'
35 appdirs >= 1.4; platform_system!='Emscripten'
36 click >= 8.1.3; platform_system!='Emscripten'
37 cryptography == 39; platform_system!='Emscripten'
41 cryptography >= 39.0; platform_system=='Emscripten'
42 grpcio >= 1.62.1; platform_system!='Emscripten'
43 humanize >= 4.6.0; platform_system!='Emscripten'
44 libusb1 >= 2.0.1; platform_system!='Emscripten'
45 libusb-package == 1.0.26.1; platform_system!='Emscripten'
46 platformdirs >= 3.10.0; platform_system!='Emscripten'
[all …]
/external/skia/modules/canvaskit/
DWasmCommon.h11 #include <emscripten.h>
12 #include <emscripten/bind.h>
23 using namespace emscripten; variable
27 using JSArray = emscripten::val;
28 using JSObject = emscripten::val;
29 using JSString = emscripten::val;
30 using SkPathOrNull = emscripten::val;
31 using TypedArray = emscripten::val;
32 using Uint8Array = emscripten::val;
33 using Uint16Array = emscripten::val;
[all …]
Dskottie_bindings.cpp34 #include <emscripten.h>
35 #include <emscripten/bind.h>
54 using namespace emscripten;
140 explicit WebTrack(emscripten::val player) : fPlayer(std::move(player)) {} in WebTrack()
147 const emscripten::val fPlayer;
155 // https://emscripten.org/docs/porting/guidelines/function_pointer_issues.html
160 static sk_sp<SkottieAssetProvider> Make(AssetVec assets, emscripten::val soundMap) { in Make()
183 emscripten::val player = this->findSoundAsset(id); in loadAudioAsset()
206 explicit SkottieAssetProvider(AssetVec assets, emscripten::val soundMap) in SkottieAssetProvider()
221 emscripten::val findSoundAsset(const char name[]) const { in findSoundAsset()
[all …]
DREADME.md11 To compile CanvasKit, you will first need to [download and activate `emscripten`][1] using the
16 want to use their own version of emscripten, they should set the `skia_emsdk_dir` argument
20 [1]: https://emscripten.org/
24 Make sure you have Python3 installed, otherwise the downloading emscripten toolchain
25 can fail with errors about SSL certificates. <https://github.com/emscripten-core/emsdk/pull/273>
27 See also <https://github.com/emscripten-core/emscripten/issues/9036#issuecomment-532092743>
128 ## Updating the version of Emscripten we build/test with
130 This presumes you have updated emscripten locally to a newer version of the
133 1. Edit `//bin/activate-emsdk` to install and activate the desired version of Emscripten.
Dparagraph_bindings.cpp30 #include <emscripten.h>
31 #include <emscripten/bind.h>
34 using namespace emscripten;
312 return emscripten::val::null(); in TextBoxesToFloat32Array()
324 // Of note: now that we have cast rects to float*, emscripten is smart enough to wrap this in TextBoxesToFloat32Array()
344 JSObject m = emscripten::val::object(); in JSObjectFromLineMetrics()
361 JSObject object = emscripten::val::object(); in JSObjectFromGlyphInfo()
363 JSObject range = emscripten::val::object(); in JSObjectFromGlyphInfo()
368 JSArray rect = emscripten::val::array(); in JSObjectFromGlyphInfo()
383 JSArray result = emscripten::val::array(); in GetLineMetrics()
[all …]
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
DBUILD81 "//tensorflow:emscripten": ["XNNPACK_DELEGATE_ENABLE_QU8=1"],
744 "//tensorflow:emscripten": EMSCRIPTEN_LINKOPTS,
756 "//tensorflow:emscripten": EMSCRIPTEN_LINKOPTS,
771 "//tensorflow:emscripten": EMSCRIPTEN_LINKOPTS,
786 "//tensorflow:emscripten": EMSCRIPTEN_LINKOPTS,
801 "//tensorflow:emscripten": EMSCRIPTEN_LINKOPTS,
816 "//tensorflow:emscripten": EMSCRIPTEN_LINKOPTS,
831 "//tensorflow:emscripten": EMSCRIPTEN_LINKOPTS,
846 "//tensorflow:emscripten": EMSCRIPTEN_LINKOPTS,
861 "//tensorflow:emscripten": EMSCRIPTEN_LINKOPTS,
[all …]
/external/skia/experimental/webgpu-bazel/src/
Dbindings.cpp22 #include <emscripten/bind.h>
23 #include <emscripten/emscripten.h>
24 #include <emscripten/html5.h>
25 // https://github.com/emscripten-core/emscripten/blob/main/system/include/emscripten/html5_webgpu.h
28 #include <emscripten/html5_webgpu.h>
29 // https://github.com/emscripten-core/emscripten/blob/main/system/include/webgpu/webgpu.h
33 // https://github.com/emscripten-core/emscripten/blob/f47bef371f3464471c6d30b631cffcdd06ced004/src/…
35 // https://github.com/emscripten-core/emscripten/blob/main/system/include/webgpu/webgpu_cpp.h
195 emscripten::enum_<DemoKind>("DemoKind") in EMSCRIPTEN_BINDINGS()
199 emscripten::class_<Demo>("Demo") in EMSCRIPTEN_BINDINGS()
/external/zstd/build/single_file_libs/
Dbuild_decoder_test.sh9 # Source files to compile using Emscripten.
10 IN_FILES="examples/emscripten.c"
12 # Emscripten build using emcc.
26 # Emscripten build using docker.
31 emscripten/emsdk:latest \
42 # Try Emscripten build using emcc or docker.
56 echo "(Skipping Emscripten test)"
88 # Try Emscripten build if emcc or docker command is available.
Dbuild_library_test.sh12 # Source files to compile using Emscripten.
15 # Emscripten build using emcc.
29 # Emscripten build using docker.
34 emscripten/emsdk:latest \
45 # Try Emscripten build using emcc or docker.
59 echo "(Skipping Emscripten test)"
94 # Try Emscripten build if emcc or docker command is available.
/external/rust/crates/instant/
DCargo.toml31 [target.asmjs-unknown-emscripten.dependencies.js-sys]
35 [target.asmjs-unknown-emscripten.dependencies.stdweb]
39 [target.asmjs-unknown-emscripten.dependencies.wasm-bindgen_rs]
44 [target.asmjs-unknown-emscripten.dependencies.web-sys]
48 [target.wasm32-unknown-emscripten.dependencies.js-sys]
52 [target.wasm32-unknown-emscripten.dependencies.stdweb]
56 [target.wasm32-unknown-emscripten.dependencies.wasm-bindgen_rs]
61 [target.wasm32-unknown-emscripten.dependencies.web-sys]
/external/python/cpython3/Doc/library/
Dintro.rst73 The `WebAssembly`_ platforms ``wasm32-emscripten`` (`Emscripten`_) and
80 Emscripten does not permit blocking I/O. Other blocking operations like
84 `Emscripten`_-SDK or `WASI`_-SDK version, WASM runtimes (browser, NodeJS,
85 `wasmtime`_), and Python build time flags. WebAssembly, Emscripten, and WASI
91 CPython and Emscripten. Pyodide provides access to browsers' JavaScript and
102 differently from other platforms. On Emscripten, sockets are always
104 server to proxy TCP through WebSockets; see `Emscripten Networking`_
116 .. _Emscripten: https://emscripten.org/
117 .. _Emscripten Networking: https://emscripten.org/docs/porting/networking.html
/external/rust/crates/rustix/src/backend/libc/fs/
Dmakedev.rs10 target_os = "emscripten",
41 #[cfg(target_os = "emscripten")]
44 // Emscripten's `makedev` has a 32-bit return value. in makedev()
66 target_os = "emscripten",
94 #[cfg(target_os = "emscripten")]
97 // Emscripten's `major` has a 32-bit argument value. in major()
105 target_os = "emscripten",
133 #[cfg(target_os = "emscripten")]
136 // Emscripten's `minor` has a 32-bit argument value. in minor()
/external/XNNPACK/
Demscripten.bzl1 """Emscripten-specific build definitions for XNNPACK."""
4 """Minimal Emscripten-specific linkopts for binaries."""
13 """Emscripten-specific linkopts for unit tests."""
25 """Emscripten-specific linkopts for benchmarks."""
37 """Emscripten-specific dependencies for unit tests and benchmarks."""
/external/rust/crates/nix/src/
Dtime.rs3 #[cfg(any(freebsdlike, linux_android, target_os = "emscripten"))]
25 #[cfg(any(freebsdlike, linux_android, target_os = "emscripten"))]
59 #[cfg(any(linux_android, target_os = "emscripten", target_os = "fuchsia"))]
65 #[cfg(any(linux_android, target_os = "emscripten", target_os = "fuchsia"))]
71 #[cfg(any(linux_android, target_os = "emscripten", target_os = "fuchsia"))]
84 #[cfg(any(linux_android, target_os = "emscripten", target_os = "fuchsia"))]
90 target_os = "emscripten",
103 #[cfg(any(linux_android, target_os = "emscripten", target_os = "fuchsia"))]
107 #[cfg(any(linux_android, target_os = "emscripten", target_os = "fuchsia"))]
123 target_os = "emscripten",
[all …]
/external/rust/crates/rayon/tests/
Doctillion.rs74 target_os = "emscripten",
91 target_os = "emscripten",
105 target_os = "emscripten",
116 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
123 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
130 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
141 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
152 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
/external/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp26 #include <emscripten.h>
27 #include <emscripten/bind.h>
29 using namespace emscripten;
42 using SkPathOrNull = emscripten::val;
44 using JSString = emscripten::val;
45 using JSArray = emscripten::val;
52 JSArray cmds = emscripten::val::array(); in ToCmds()
54 JSArray cmd = emscripten::val::array(); in ToCmds()
104 return emscripten::val::null(); \ in FromCmds()
144 return emscripten::val::null(); in FromCmds()
[all …]
/external/angle/doc/
DCompilingTranslatorWithEmscripten.md5 this purpose: compiling it with [Emscripten](http://emscripten.org/) allows it
13 Install the Emscripten toolchain per the [instructions](http://emscripten.org/).
15 Symlink (preferred) or copy the ANGLE directory into ...emsdk/emscripten/master.
97 Emscripten-translated executable. It would be helpful to define a simple wrapper
102 with the Emscripten binary would be useful.
/external/rust/crates/rayon-core/src/thread_pool/
Dtest.rs19 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
47 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
94 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
146 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
155 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
175 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
204 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
230 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
238 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
263 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
[all …]
/external/rust/crates/rayon-core/src/
Dtest.rs8 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
18 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
45 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
75 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
126 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
142 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
163 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
172 #[cfg_attr(any(target_os = "emscripten", target_family = "wasm"), ignore)]
/external/zstd/build/single_file_libs/examples/
DREADME.md7 `emscripten.c` is a bare-bones [Emscripten](https://github.com/emscripten-core/emscripten) compiled…
/external/deqp-deps/SPIRV-Tools/source/wasm/
Dspirv-tools.cpp21 #include <emscripten/bind.h>
22 #include <emscripten/val.h>
23 using namespace emscripten;
42 emscripten::val as(std::string const& source, uint32_t env, uint32_t options) { in as()
49 return emscripten::val(emscripten::typed_memory_view(spirv.size() * 4, in as()
/external/swiftshader/third_party/SPIRV-Tools/source/wasm/
Dspirv-tools.cpp21 #include <emscripten/bind.h>
22 #include <emscripten/val.h>
23 using namespace emscripten;
42 emscripten::val as(std::string const& source, uint32_t env, uint32_t options) { in as()
49 return emscripten::val(emscripten::typed_memory_view(spirv.size() * 4, in as()

12345678910>>...24