Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
8e99c3b1
Commit
8e99c3b1
authored
1 year ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Make AVX setting less annoying
parent
fe7c5681
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/cmake/00-Common.cmake
+2
-5
2 additions, 5 deletions
indra/cmake/00-Common.cmake
with
2 additions
and
5 deletions
indra/cmake/00-Common.cmake
+
2
−
5
View file @
8e99c3b1
...
@@ -45,12 +45,9 @@ set(CMAKE_CONFIGURATION_TYPES "RelWithDebInfo;Release;Debug" CACHE STRING
...
@@ -45,12 +45,9 @@ set(CMAKE_CONFIGURATION_TYPES "RelWithDebInfo;Release;Debug" CACHE STRING
"Supported build types."
FORCE
)
"Supported build types."
FORCE
)
# SIMD config
# SIMD config
option
(
USE_SSE42
"Enable usage of the SSE4.2 instruction set"
ON
)
option
(
USE_AVX
"Enable usage of the AVX instruction set"
OFF
)
option
(
USE_AVX2
"Enable usage of the AVX2 instruction set"
OFF
)
option
(
USE_AVX2
"Enable usage of the AVX2 instruction set"
OFF
)
if
((
USE_SSE42 AND USE_AVX
)
OR
(
USE_SSE42 AND USE_AVX AND USE_AVX2
)
OR
(
USE_AVX AND USE_AVX2
))
option
(
USE_AVX
"Enable usage of the AVX instruction set"
OFF
)
message
(
FATAL_ERROR
"Usage of multiple SIMD flags is unsupported"
)
option
(
USE_SSE42
"Enable usage of the SSE4.2 instruction set"
ON
)
endif
()
# Warnings
# Warnings
option
(
DISABLE_FATAL_WARNINGS
"Disable warnings as errors"
ON
)
option
(
DISABLE_FATAL_WARNINGS
"Disable warnings as errors"
ON
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment