mirror of
https://github.com/laurent22/joplin.git
synced 2026-10-25 02:47:28 +00:00
10 lines
585 B
Bash
10 lines
585 B
Bash
# Environment variables injected by Yarn into every install/build-script run.
|
|
# See the injectEnvironmentFiles setting: https://yarnpkg.com/configuration/yarnrc#injectEnvironmentFiles
|
|
|
|
# onnxruntime-node bundles the CPU runtime we use, but its postinstall also
|
|
# downloads the CUDA/GPU execution provider from nuget.org on Linux x64. Joplin
|
|
# only does CPU inference, so that download is unused - and it randomly times
|
|
# out and fails the whole `yarn install`. Skip it. This is a no-op on
|
|
# macOS/Windows, where onnxruntime-node downloads nothing anyway.
|
|
ONNXRUNTIME_NODE_INSTALL=skip
|