Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMakeLists.txt update to remove unnecessary variable #103

Closed
wants to merge 3 commits into from

Conversation

hansely
Copy link
Contributor

@hansely hansely commented Feb 16, 2024

Remove unnecessary variable : MIVisionX_LIBRARIES_DIRS
Update rocAL CMake to exclude rocAL_pybind subdirectory if manually turned off

option(BUILD_PYPACKAGE "Build rocAL Python Package" ON)
option(BUILD_WITH_AMD_ADVANCE "Build rocAL for advanced AMD GPU Architecture" OFF)
option(PYTHONVERSION "Python version to build rocal" "")
option(BUILD_WITH_AMD_ADVANCE "Build rocAL with Advanced GPU support" OFF)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hansely why was pythonversion removed? Seems like you have not synced with ToT.

find_package(Python3 QUIET COMPONENTS Interpreter Development)
endif()
find_package(pybind11 QUIET CONFIG)
set(Python3_FIND_VIRTUALENV FIRST)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hansely Please undo these changes and sync to ToT

@@ -280,8 +276,8 @@ if(${BUILD_ROCAL_PYBIND})
add_dependencies(PyPackageInstall PyPackageBuild)

#install rocAL pybind libs
install(FILES ${CMAKE_BINARY_DIR}/${TARGET_NAME}/${CMAKE_INSTALL_LIBDIR}/${TARGET_PYMODULE_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX_PYTHON})
install(FILES ${CMAKE_BINARY_DIR}/${TARGET_NAME}/${CMAKE_INSTALL_LIBDIR}/${TARGET_PYMODULE_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX_PYTHON} COMPONENT runtime)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hansely did you test this on pytorch dockers?

@hansely
Copy link
Contributor Author

hansely commented Feb 27, 2024

Closing this PR and reopening with develop branch synced

@hansely hansely closed this Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants