mmdeploy/tools/package_tools/scripts/windows
Chen Xin aae9f32623
[Refactor] Rename mmdeploy_python to mmdeploy_runtime (#1911)
* [Feature]: Add github prebuild workflow after new release. (#1852)

* add prebuild dockerfile

* add prebuild test workflw

* update

* update

* rm other workflow for test

* Update docker image

* add win1o prebuild

* add test prebuild

* add windows scripts in prebuilt package

* add linux scripts in prebuilt package

* generate_build_config.py

* fix cudnn search

* fix env

* fix script

* fix rpath

* fix cwd

* fix windows

* fix lint

* windows prebuild ci

* linux prebuild ci

* fix

* update trigger

* Revert "rm other workflow for test"

This reverts commit 0a03872750.

* update sdk build readme

* update prebuild

* fix dll deps for python >= 3.8 on windows

* fix ci

* test prebuild

* update test script to avoid modify upload folder

* add onnxruntime.dll to mmdeploy_python

* update prebuild workflow

* update prebuild

* Update loader.cpp.in

* remove exists prebuild files

* fix opencv env

* update cmake options for mmdeploy python build

* remove test code

* fix lint

---------

Co-authored-by: RunningLeon <mnsheng@yeah.net>
Co-authored-by: RunningLeon <maningsheng@sensetime.com>

* rename mmdeploy_python -> mmdeploy_runtime

* test master prebuild

* fix trt net build

* Revert "test master prebuild"

This reverts commit aad5258648.

* add master branch

* fix linux set_env script

* update package_tools docs

* fix gcc 7.3 aligned_alloc

* comment temporarily as text_det_recog can't be built with prebuild package built under manylinux

---------

Co-authored-by: RunningLeon <mnsheng@yeah.net>
Co-authored-by: RunningLeon <maningsheng@sensetime.com>
2023-03-29 19:02:37 +08:00
..
README.md [Refactor] Rename mmdeploy_python to mmdeploy_runtime (#1911) 2023-03-29 19:02:37 +08:00
build_sdk.ps1 [Refactor] Rename mmdeploy_python to mmdeploy_runtime (#1911) 2023-03-29 19:02:37 +08:00
install_opencv.ps1 [Refactor] Rename mmdeploy_python to mmdeploy_runtime (#1911) 2023-03-29 19:02:37 +08:00
set_env.ps1 [Refactor] Rename mmdeploy_python to mmdeploy_runtime (#1911) 2023-03-29 19:02:37 +08:00

README.md

build sdk

  1. open windows powerShell with administrator privileges set-ExecutionPolicy RemoteSigned

  2. installed opencv (you can skip this step if you have installed it) in sdk folder:

    .\install_opencv.ps1

  3. set environment variable and path in sdk folder:

    . .\set_env.ps1 (you have to additionally install cuda and cudnn if you use sdk cuda version)

  4. build sdk in sdk folder:

    . .\build_sdk.ps1
    (if you installed opencv by install_opencv.ps1)

    or

    . .\build_sdk.ps1 "path/to/folder/of/OpenCVConfig.cmake"
    (if you installed opencv yourself)

    the executable will be generated in: example\cpp\build\Release