diff --git a/CHANGELOG.md b/CHANGELOG.md index a5c6ff922..65707cf2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,7 +39,7 @@ Documentation for MIVisionX is available at * OpenCV - [4.6.0](https://github.com/opencv/opencv/releases/tag/4.6.0) * FFMPEG - [n4.4.2](https://github.com/FFmpeg/FFmpeg/releases/tag/n4.4.2) * Dependencies for all the above packages -* MIVisionX Setup Script - `V2.6.1` +* MIVisionX Setup Script - `V3.1.0` ### Known issues diff --git a/MIVisionX-setup.py b/MIVisionX-setup.py index b960f7293..78af58813 100644 --- a/MIVisionX-setup.py +++ b/MIVisionX-setup.py @@ -22,6 +22,7 @@ import sys import argparse import platform +import traceback if sys.version_info[0] < 3: import commands else: @@ -29,7 +30,7 @@ __copyright__ = "Copyright 2018 - 2024, AMD ROCm MIVisionX" __license__ = "MIT" -__version__ = "3.0.0" +__version__ = "3.1.0" __email__ = "mivisionx.support@amd.com" __status__ = "Shipping" @@ -38,6 +39,7 @@ def ERROR_CHECK(call): status = call if(status != 0): print('ERROR_CHECK failed with status:'+str(status)) + traceback.print_stack() exit(status) # Arguments @@ -185,6 +187,8 @@ def ERROR_CHECK(call): platfromInfo = platfromInfo+'-Ubuntu-20' elif "22" in platform.version(): platfromInfo = platfromInfo+'-Ubuntu-22' + elif "24" in platform.version(): + platfromInfo = platfromInfo+'-Ubuntu-24' else: platfromInfo = platfromInfo+'-Ubuntu-undefined-version' elif os.path.exists('/usr/bin/zypper'): @@ -388,7 +392,7 @@ def ERROR_CHECK(call): ERROR_CHECK(os.system( '(cd '+modelCompilerDeps+'/nnef-deps; git clone https://github.com/KhronosGroup/NNEF-Tools.git)')) ERROR_CHECK(os.system( - '(cd '+modelCompilerDeps+'/nnef-deps/NNEF-Tools/parser/cpp; mkdir -p build && cd build; '+linuxCMake+' ..; make)')) + '(cd '+modelCompilerDeps+'/nnef-deps/NNEF-Tools/parser/cpp; mkdir -p build && cd build; '+linuxCMake+' ..; make -j$(nproc))')) ERROR_CHECK(os.system( '(cd '+modelCompilerDeps+'/nnef-deps/NNEF-Tools/parser/python; sudo python3 setup.py install)')) else: diff --git a/README.md b/README.md index 844f83c37..2deea68a3 100644 --- a/README.md +++ b/README.md @@ -309,7 +309,7 @@ Review all notable [changes](CHANGELOG.md#changelog) with the latest release * OpenCV - [4.6.0](https://github.com/opencv/opencv/releases/tag/4.6.0) * FFMPEG - [n4.4.2](https://github.com/FFmpeg/FFmpeg/releases/tag/n4.4.2) * Dependencies for all the above packages -* MIVisionX Setup Script - `V2.7.0` +* MIVisionX Setup Script - `V3.1.0` ### Known issues diff --git a/docs/install/installation.rst b/docs/install/installation.rst index d7cff9af9..596ed4091 100644 --- a/docs/install/installation.rst +++ b/docs/install/installation.rst @@ -274,7 +274,7 @@ Tested configurations * OpenCV - `4.6.0 `_ * FFMPEG - `n4.4.2 `_ * Dependencies for all the above packages -* MIVisionX Setup Script - V2.7.0 +* MIVisionX Setup Script - V3.1.0 Known issues -------------------