Skip to content

Commit

Permalink
CMakeLists - Update Min Version to 3.5 (#1163)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiritigowda authored Aug 8, 2023
1 parent c1ec1c0 commit 063e581
Show file tree
Hide file tree
Showing 49 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)

project(MIVisionX)
set(VERSION "2.5.0")
Expand Down
2 changes: 1 addition & 1 deletion amd_openvx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(amd_openvx)

if(GPU_SUPPORT AND "${BACKEND}" STREQUAL "HIP")
Expand Down
2 changes: 1 addition & 1 deletion amd_openvx/openvx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(openvx)

set(CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion amd_openvx_extensions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(amd_openvx_extensions)

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../amd_openvx/cmake)
Expand Down
2 changes: 1 addition & 1 deletion amd_openvx_extensions/amd_loomsl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(amd_loomsl)

set(CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion amd_openvx_extensions/amd_media/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(vx_amd_media)

set(CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion amd_openvx_extensions/amd_nn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(amd_nn)

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../../amd_openvx/cmake)
Expand Down
2 changes: 1 addition & 1 deletion amd_openvx_extensions/amd_opencv/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(amd_opencv)

set(CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion amd_openvx_extensions/amd_rpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(vx_rpp)

set(CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(mivisionx_applications)

set(ROCM_PATH /opt/rocm CACHE PATH "Default ROCm Installation Path")
Expand Down
2 changes: 1 addition & 1 deletion apps/bubble_pop/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# SOFTWARE.
#
###############################################################################
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(vx_pop)

set(CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion apps/cloud_inference/server_app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(inference_server_app)

set(CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion apps/dg_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(DGTest)

set(CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion apps/image_augmentation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#
################################################################################

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)

project(image_augmentation)

Expand Down
2 changes: 1 addition & 1 deletion apps/mivisionx_openvx_classifier/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# SOFTWARE.
#
################################################################################
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(classifier)

# ROCm Path
Expand Down
2 changes: 1 addition & 1 deletion apps/optical_flow/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#
################################################################################

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)

project(opticalFlow)

Expand Down
4 changes: 2 additions & 2 deletions model_compiler/python/nnir_to_clib.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def generateCMakeFiles(graph, outputFolder):
generateLicenseForScript(f)
f.write(
"""
cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project (mvdeploy)
set (CMAKE_CXX_STANDARD 14)
Expand Down Expand Up @@ -273,7 +273,7 @@ def generateCMakeExtras(graph, outputFolder):
generateLicenseForScript(f)
f.write(
"""
cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project (mv_extras)
set (CMAKE_CXX_STANDARD 14)
list(APPEND CMAKE_MODULE_PATH ../cmake)
Expand Down
2 changes: 1 addition & 1 deletion model_compiler/python/nnir_to_openvx.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def generateCMakeFiles(graph,outputFolder):
generateLicenseForScript(f)
f.write( \
"""
cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project (annmodule)
Expand Down
2 changes: 1 addition & 1 deletion rocAL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(amd_rocAL)

add_subdirectory(rocAL)
2 changes: 1 addition & 1 deletion rocAL/rocAL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(rocal)

set(CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion rocAL/rocAL_pybind/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.4)
cmake_minimum_required(VERSION 3.5)
project(rocAL_pybind)

set(TARGET_NAME rocAL_pybind)
Expand Down
2 changes: 1 addition & 1 deletion samples/c_samples/canny/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#
################################################################################

cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project (cannyDetect)
set (CMAKE_CXX_STANDARD 14)
set(ROCM_PATH /opt/rocm CACHE PATH "Deafult ROCm Installation Path")
Expand Down
2 changes: 1 addition & 1 deletion samples/c_samples/opencv_orb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#
################################################################################

cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project (orbDetect)
set (CMAKE_CXX_STANDARD 14)
set(ROCM_PATH /opt/rocm CACHE PATH "Deafult ROCm Installation Path")
Expand Down
2 changes: 1 addition & 1 deletion samples/inference/mv_objdetect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#
################################################################################

cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project (mvobjdetect)
set (CMAKE_CXX_STANDARD 14)

Expand Down
2 changes: 1 addition & 1 deletion samples/model_compiler_samples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# SOFTWARE.
#
################################################################################
cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)

project(classification)

Expand Down
2 changes: 1 addition & 1 deletion tests/amd_migraphx_tests/mnist/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#
################################################################################

cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(migraphx_node_test)
set(CMAKE_CXX_STANDARD 14)
set(ROCM_PATH /opt/rocm CACHE PATH "default ROCm installation path")
Expand Down
2 changes: 1 addition & 1 deletion tests/amd_migraphx_tests/resnet50/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#
################################################################################

cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(migraphx_node_test)
set(CMAKE_CXX_STANDARD 14)
set(ROCM_PATH /opt/rocm CACHE PATH "default ROCm installation path")
Expand Down
2 changes: 1 addition & 1 deletion tests/amd_migraphx_tests/runMIGraphXTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#
################################################################################

cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(runMIGraphXTests)
set(CMAKE_CXX_STANDARD 14)
set(ROCM_PATH /opt/rocm CACHE PATH "default ROCm installation path")
Expand Down
2 changes: 1 addition & 1 deletion tests/openvx_api_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# SOFTWARE.
#
################################################################################
cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)

# default run
# canny
Expand Down
2 changes: 1 addition & 1 deletion tests/openvx_api_tests/canny/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#
################################################################################

cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project (openvx_canny)

set (CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion tests/openvx_api_tests/channel_extract/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#
################################################################################

cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project (openvx_channel_extract)

set (CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion tests/openvx_api_tests/color_convert/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#
################################################################################

cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project (openvx_color_convert)

set (CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion utilities/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(utilities)

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../amd_openvx/cmake)
Expand Down
2 changes: 1 addition & 1 deletion utilities/inference_generator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(inference_generator)

set(CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion utilities/inference_generator/src/caffe2openvx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2323,7 +2323,7 @@ void generateCode(
/////
// generate CMakeLists.txt
//
ofsCodeM << "cmake_minimum_required (VERSION 2.8)" << std::endl;
ofsCodeM << "cmake_minimum_required(VERSION 3.5)" << std::endl;
ofsCodeM << "project (annmodule)" << std::endl;
ofsCodeM << "set (CMAKE_CXX_STANDARD 14)" << std::endl;
ofsCodeM << "list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)" << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion utilities/inference_generator/src/nnef2openvx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1737,7 +1737,7 @@ class NNEF2OpenVX_Translator : public nnef::Parser::Callback
printf("ERROR: unable to create: %s\n", openvxFilenameC.c_str());
exit(1);
}
ovxC << "cmake_minimum_required (VERSION 2.8)" << std::endl
ovxC << "cmake_minimum_required(VERSION 3.5)" << std::endl
<< "project (annmodule)" << std::endl
<< "set (CMAKE_CXX_STANDARD 14) " << std::endl
<< "list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)" << std::endl
Expand Down
2 changes: 1 addition & 1 deletion utilities/loom_io_media/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(vx_loomio_media)

set(CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion utilities/loom_shell/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(loom_shell)

set(CMAKE_CXX_STANDARD 14)
Expand Down
2 changes: 1 addition & 1 deletion utilities/mv_deploy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
project(mv_compile)
set(CMAKE_CXX_STANDARD 17)

Expand Down
2 changes: 1 addition & 1 deletion utilities/rocAL/rocAL_basic_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# SOFTWARE.
#
################################################################################
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)

project(rocal_basic_test)

Expand Down
2 changes: 1 addition & 1 deletion utilities/rocAL/rocAL_dataloader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# SOFTWARE.
#
################################################################################
cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)

project(rocal_dataloader)

Expand Down
2 changes: 1 addition & 1 deletion utilities/rocAL/rocAL_dataloader_mt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# SOFTWARE.
#
################################################################################
cmake_minimum_required (VERSION 3.0)
cmake_minimum_required(VERSION 3.5)

project (rocAL_dataloader_mt)

Expand Down
2 changes: 1 addition & 1 deletion utilities/rocAL/rocAL_dataloader_tf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# SOFTWARE.
#
################################################################################
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)

project(rocAL_dataloader_tf)

Expand Down
Loading

0 comments on commit 063e581

Please sign in to comment.