Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
iwr
amdis
Commits
7dd92158
Commit
7dd92158
authored
8 years ago
by
Praetorius, Simon
Browse files
Options
Downloads
Patches
Plain Diff
configuration files adopted to cmake configuration and automatic c++11 detection
parent
bda1948a
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!8
Issue/cmake configuration
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
AMDiS/src/config/Config_clang.h
+1
-4
1 addition, 4 deletions
AMDiS/src/config/Config_clang.h
AMDiS/src/config/Config_gcc.h
+1
-4
1 addition, 4 deletions
AMDiS/src/config/Config_gcc.h
AMDiS/src/config/Config_intel.h
+1
-9
1 addition, 9 deletions
AMDiS/src/config/Config_intel.h
with
3 additions
and
17 deletions
AMDiS/src/config/Config_clang.h
+
1
−
4
View file @
7dd92158
...
...
@@ -47,10 +47,7 @@ typedef size_t aligned_size_t __attribute__ ((aligned(CACHE_LINE)));
// C++11 features
// --------------
#if __cplusplus > 199711L
#ifndef HAS_CXX11
#define HAS_CXX11 1
#endif
#ifdef HAS_CXX11
// __has_feature(cxx_rvalue_references)
#if CLANG_VERSION >= 20900 && !defined(HAS_VARIADIC_TEMPLATES)
...
...
This diff is collapsed.
Click to expand it.
AMDiS/src/config/Config_gcc.h
+
1
−
4
View file @
7dd92158
...
...
@@ -47,10 +47,7 @@ typedef size_t aligned_size_t __attribute__ ((aligned(CACHE_LINE)));
// C++11 features
// --------------
#if __cplusplus > 199711L
#ifndef HAS_CXX11
#define HAS_CXX11 1
#endif
#ifdef HAS_CXX11
#if GCC_VERSION >= 40300 && !defined(HAS_VARIADIC_TEMPLATES)
#define HAS_VARIADIC_TEMPLATES 1
...
...
This diff is collapsed.
Click to expand it.
AMDiS/src/config/Config_intel.h
+
1
−
9
View file @
7dd92158
...
...
@@ -51,15 +51,7 @@ typedef __declspec(align(CACHE_LINE)) size_t aligned_size_t;
// C++11 features
// --------------
// #if __cplusplus > 199711L
// workaround needed to test for -std=c++11 enabled, since __cplusplus gives wrong values
#include
<vector>
#include
<functional>
#if defined(_GLIBCXX_TUPLE) || defined(_GLIBCXX_TYPE_TRAITS) || defined(_GLIBCXX_ARRAY) || (__cplusplus > 199711L)
#ifndef HAS_CXX11
#define HAS_CXX11 1
#endif
#ifdef HAS_CXX11
#if INTEL_VERSION >= 1201 && !defined(HAS_VARIADIC_TEMPLATES)
#define HAS_VARIADIC_TEMPLATES 1
...
...
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