Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
faust group
faust
Commits
4d77c474
Commit
4d77c474
authored
9 years ago
by
Nicolas Bellot
Committed by
hhakim
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
flag CMAKE:BOOL FAUST_USE_OPENMP
parent
5aec70d0
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+12
-2
12 additions, 2 deletions
CMakeLists.txt
with
12 additions
and
2 deletions
CMakeLists.txt
+
12
−
2
View file @
4d77c474
...
@@ -46,6 +46,7 @@ set(FAUST_USE_SINGLEPRECISION OFF CACHE BOOL "Using single precision instead of
...
@@ -46,6 +46,7 @@ set(FAUST_USE_SINGLEPRECISION OFF CACHE BOOL "Using single precision instead of
set
(
FAUST_USE_OPENBLAS ON CACHE BOOL
"Using openBLAS for matrix and vector computations"
)
set
(
FAUST_USE_OPENBLAS ON CACHE BOOL
"Using openBLAS for matrix and vector computations"
)
set
(
FAUST_USE_MEX OFF CACHE BOOL
"Generate Mexfiles"
)
set
(
FAUST_USE_MEX OFF CACHE BOOL
"Generate Mexfiles"
)
set
(
FAUST_USE_PROFILING OFF CACHE BOOL
"Profiling the code"
)
set
(
FAUST_USE_PROFILING OFF CACHE BOOL
"Profiling the code"
)
set
(
FAUST_USE_OPENMP ON CACHE BOOL
"OpenMP Multithreading"
)
set
(
FAUST_USE_MATIO ON CACHE BOOL
"Using matio library to read mat files"
)
set
(
FAUST_USE_MATIO ON CACHE BOOL
"Using matio library to read mat files"
)
set
(
FAUST_USE_XML OFF CACHE BOOL
"Using xml configuration to read xml files"
)
set
(
FAUST_USE_XML OFF CACHE BOOL
"Using xml configuration to read xml files"
)
set
(
FAUST_ISVERBOSE OFF CACHE BOOL
"Display useful message for debugging"
)
set
(
FAUST_ISVERBOSE OFF CACHE BOOL
"Display useful message for debugging"
)
...
@@ -285,9 +286,18 @@ if( (CMAKE_BUILD_TYPE MATCHES "Debug") OR (CMAKE_BUILD_TYPE MATCHES "debug") OR
...
@@ -285,9 +286,18 @@ if( (CMAKE_BUILD_TYPE MATCHES "Debug") OR (CMAKE_BUILD_TYPE MATCHES "debug") OR
message
(
STATUS
"**********DEBUG mode************"
)
message
(
STATUS
"**********DEBUG mode************"
)
else
()
else
()
if
(
UNIX
)
if
(
UNIX
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-fopenmp -fexceptions -fno-omit-frame-pointer -pthread -fPIC -O2 "
CACHE STRING
"compile flags"
FORCE
)
if
(
FAUST_USE_OPENMP
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-fopenmp "
CACHE STRING
"compile flags"
FORCE
)
endif
(
FAUST_USE_OPENMP
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-fexceptions -fno-omit-frame-pointer -pthread -fPIC -O2 "
CACHE STRING
"compile flags"
FORCE
)
elseif
(
WIN32
)
elseif
(
WIN32
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/EHs /openmp /MD /O2"
CACHE STRING
"compile flags"
FORCE
)
if
(
FAUST_USE_OPENMP
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/openmp "
CACHE STRING
"compile flags"
FORCE
)
endif
(
FAUST_USE_OPENMP
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/EHs /MD /O2"
CACHE STRING
"compile flags"
FORCE
)
else
()
else
()
message
(
WARNING
"Unknown type of plateform for CMAKE_CXX_FLAGS"
)
message
(
WARNING
"Unknown type of plateform for CMAKE_CXX_FLAGS"
)
endif
()
endif
()
...
...
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