Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
669c7fc7
Unverified
Commit
669c7fc7
authored
Mar 05, 2024
by
Miguel Dias Costa
Committed by
GitHub
Mar 04, 2024
Browse files
remove possibility of defining (32-bit) __ARM__ instead of __ARM64__ (#4462)
parent
66616acc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
CMakeLists.txt
CMakeLists.txt
+2
-5
No files found.
CMakeLists.txt
View file @
669c7fc7
...
@@ -41,11 +41,8 @@ if ("${TARGET_ARCH}" MATCHES "x86_64|i386")
...
@@ -41,11 +41,8 @@ if ("${TARGET_ARCH}" MATCHES "x86_64|i386")
endif
()
endif
()
if
(
"
${
TARGET_ARCH
}
"
MATCHES
"arm"
)
if
(
"
${
TARGET_ARCH
}
"
MATCHES
"arm"
)
set
(
ARM ON
)
set
(
ARM ON
)
if
(
"
${
TARGET_ARCH
}
"
MATCHES
"armv8"
)
# OpenMM only supports 64-bit ARM
add_definitions
(
-D__ARM64__=1
)
add_definitions
(
-D__ARM64__=1
)
else
()
add_definitions
(
-D__ARM__=1
)
endif
()
endif
()
endif
()
if
(
"
${
TARGET_ARCH
}
"
MATCHES
"ppc"
)
if
(
"
${
TARGET_ARCH
}
"
MATCHES
"ppc"
)
set
(
PPC ON
)
set
(
PPC 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