Skip to content

Commit 651eec2

Browse files
authored
MMdeploy build & install script + prerequisites (#399)
* Initial commit of build script * Fixed lint * * Set prefix depending on install arch * Auto detect installed version of cmake, gcc. Update if necessary * Prompt to reinstall venv if exists * Disable .tar packing * Enable MMDEPLOY SDK Python * Misc cleanup * Fixed lint * Renamed script * * Set env variables without restarting script. * OpenCV install optional. * Fix numpy OPENBLAS_CORETYPE on numpy >1.19.4. * Remove specific build files. * Fix prebuild output .tar.gz. * Comments added. exec bash when closing script * * Use root dir as MMDeploy dir. * Use pip3. * Remove explicit MMDeploy checkout version. * Use MMDEPLOY_DIR for examples path * Make PyTorch, torchvision, mmcv install optional * * Do not deactivate python venv. * Make prebuild archive optional. * Add venv* to gitignore * * Add support for unattended, interactive install. * Cleanup misc. comments. * Check input arguments before continuing. * Added additional log messages, comments added * Added default option when pressing [ENTER] * * Rearranged cmake, gcc build/install order. * Mention default option when reinstalling venv * sudo make install instead of cmake --install * Moved script to tools/scripts * Fixed relative path when generating WORKING_DIR
1 parent 89204d1 commit 651eec2

File tree

2 files changed

+494
-0
lines changed

2 files changed

+494
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ venv/
9292
ENV/
9393
env.bak/
9494
venv.bak/
95+
venv*
9596

9697
# Spyder project settings
9798
.spyderproject

0 commit comments

Comments
 (0)