パッケージング

重要

自前でのパッケージングは推奨していません。提供されているパッケージを利用してください。

  • パッケージは dist 以下に whl 拡張子で生成されます

  • Ubuntu 20.04 arm64 (NVIDIA Jetson) 以外はクロスコンパイルに対応していません

Windows 11 x86_64

$ rye sync
$ rye run python run.py
$ rye run python -m build

macOS 14 arm64

$ rye sync
$ rye run python run.py
$ rye run python -m build

Ubuntu 22.04 x86_64

$ sudo apt install libva-dev libva-drm2 pkg-config
$ rye sync
$ rye run python run.py
$ rye run python -m build

Ubuntu 20.04 arm64 (NVIDIA Jetson)

Ubuntu 22.04 x86_64 でのビルド&パッケージング例です

$ sudo apt install libva-dev libva-drm2  pkg-config multistrap
$ sudo sed -e 's/Apt::Get::AllowUnauthenticated=true/Apt::Get::AllowUnauthenticated=true";\n$config_str .= " -o Acquire::AllowInsecureRepositories=true/' -i /usr/sbin/multistrap
$ rye sync
$ SORA_SDK_TARGET=ubuntu-20.04_armv8_jetson rye run python run.py
$ ./package.ubuntu-20.04_armv8_jetson.sh
© Copyright 2024, Shiguredo Inc. Created using Sphinx 7.3.7