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
685168f5
Unverified
Commit
685168f5
authored
Oct 24, 2023
by
Paul Fultz II
Committed by
GitHub
Oct 24, 2023
Browse files
Set the SO version correctly (#2355)
parent
5c30ddb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
CMakeLists.txt
CMakeLists.txt
+2
-1
No files found.
CMakeLists.txt
View file @
685168f5
...
...
@@ -76,7 +76,8 @@ include(ROCMSetupVersion)
option
(
BUILD_DEV
"Build for development purpose only"
OFF
)
rocm_setup_version
(
VERSION 2.8.0
)
set
(
MIGRAPHX_SO_VERSION
${
PROJECT_VERSION_MAJOR
}
.
${
PROJECT_VERSION_MINOR
}
)
math
(
EXPR MIGRAPHX_SO_MAJOR_VERSION
"(
${
PROJECT_VERSION_MAJOR
}
* 1000 * 1000) + (
${
PROJECT_VERSION_MINOR
}
* 1000) +
${
PROJECT_VERSION_PATCH
}
"
)
set
(
MIGRAPHX_SO_VERSION
${
MIGRAPHX_SO_MAJOR_VERSION
}
.0
)
option
(
BUILD_SHARED_LIBS
"Build as a shared library"
ON
)
...
...
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