Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
ac310ae5
Unverified
Commit
ac310ae5
authored
Sep 20, 2023
by
Ahsan Saghir
Committed by
GitHub
Sep 20, 2023
Browse files
Disable Python 2.7 version (#2204)
This disables python 2.7 version in cmake/PythonModules.cmake
parent
482e8d61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cmake/PythonModules.cmake
cmake/PythonModules.cmake
+1
-1
No files found.
cmake/PythonModules.cmake
View file @
ac310ae5
...
...
@@ -86,7 +86,7 @@ function(py_add_module NAME)
)
endfunction
()
set
(
PYTHON_SEARCH_VERSIONS
2.7
3.5 3.6 3.7 3.8 3.9 3.10
)
set
(
PYTHON_SEARCH_VERSIONS 3.5 3.6 3.7 3.8 3.9 3.10
)
set
(
PYTHON_DISABLE_VERSIONS
""
CACHE STRING
""
)
foreach
(
PYTHON_DISABLE_VERSION
${
PYTHON_DISABLE_VERSIONS
}
)
list
(
REMOVE_ITEM PYTHON_SEARCH_VERSIONS
${
PYTHON_DISABLE_VERSION
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment