Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
7e60e17d
Commit
7e60e17d
authored
5 years ago
by
Nathalie Furmento
Browse files
Options
Downloads
Patches
Plain Diff
do not disable new-testing when simulation is enabled
parent
033423fc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!191
Simulation
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+7
-11
7 additions, 11 deletions
CMakeLists.txt
new-testing/CMakeLists.txt
+6
-5
6 additions, 5 deletions
new-testing/CMakeLists.txt
with
13 additions
and
16 deletions
CMakeLists.txt
+
7
−
11
View file @
7e60e17d
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# @copyright 2009-2014 The University of Tennessee and The University of
# @copyright 2009-2014 The University of Tennessee and The University of
# Tennessee Research Foundation. All rights reserved.
# Tennessee Research Foundation. All rights reserved.
# @copyright 2012-20
19
Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
# @copyright 2012-20
20
Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
# Univ. Bordeaux. All rights reserved.
# Univ. Bordeaux. All rights reserved.
#
#
###
###
...
@@ -501,13 +501,6 @@ else (NOT CHAMELEON_SIMULATION)
...
@@ -501,13 +501,6 @@ else (NOT CHAMELEON_SIMULATION)
set
(
CHAMELEON_ENABLE_EXAMPLE OFF
)
set
(
CHAMELEON_ENABLE_EXAMPLE OFF
)
message
(
"--
${
BoldBlue
}
CHAMELEON_ENABLE_EXAMPLE is set to ON but we turn it OFF."
)
message
(
"--
${
BoldBlue
}
CHAMELEON_ENABLE_EXAMPLE is set to ON but we turn it OFF."
)
endif
()
endif
()
if
(
CHAMELEON_ENABLE_TESTING
)
set
(
CHAMELEON_ENABLE_TESTING OFF
)
message
(
"--
${
BoldBlue
}
CHAMELEON_ENABLE_TESTING is set to ON but we turn it OFF."
"
\n
Because we are compiling the simulation mode (CHAMELEON_SIMULATION=ON),"
"
\n
there is no sense in compiling testing drivers that are used to check"
"
\n
numerical correctness of algorithms and kernels.
${
ColourReset
}
"
)
endif
()
# Simulation mode: we depend on SimGrid
# Simulation mode: we depend on SimGrid
find_package
(
SIMGRID REQUIRED
)
find_package
(
SIMGRID REQUIRED
)
...
@@ -995,10 +988,13 @@ if(CHAMELEON_ENABLE_EXAMPLE AND NOT CHAMELEON_SIMULATION)
...
@@ -995,10 +988,13 @@ if(CHAMELEON_ENABLE_EXAMPLE AND NOT CHAMELEON_SIMULATION)
endif
(
CHAMELEON_ENABLE_EXAMPLE AND NOT CHAMELEON_SIMULATION
)
endif
(
CHAMELEON_ENABLE_EXAMPLE AND NOT CHAMELEON_SIMULATION
)
# Testing executables
# Testing executables
if
(
CHAMELEON_ENABLE_TESTING AND NOT CHAMELEON_SIMULATION
)
if
(
CHAMELEON_ENABLE_TESTING
)
add_subdirectory
(
testing
)
add_subdirectory
(
new-testing
)
add_subdirectory
(
new-testing
)
endif
(
CHAMELEON_ENABLE_TESTING AND NOT CHAMELEON_SIMULATION
)
endif
(
CHAMELEON_ENABLE_TESTING
)
if
(
CHAMELEON_ENABLE_EXAMPLE AND NOT CHAMELEON_SIMULATION
)
add_subdirectory
(
testing
)
endif
(
CHAMELEON_ENABLE_EXAMPLE AND NOT CHAMELEON_SIMULATION
)
# Timing executables
# Timing executables
if
(
CHAMELEON_ENABLE_TIMING
)
if
(
CHAMELEON_ENABLE_TIMING
)
...
...
This diff is collapsed.
Click to expand it.
new-testing/CMakeLists.txt
+
6
−
5
View file @
7e60e17d
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# @copyright 2009-2014 The University of Tennessee and The University of
# @copyright 2009-2014 The University of Tennessee and The University of
# Tennessee Research Foundation. All rights reserved.
# Tennessee Research Foundation. All rights reserved.
# @copyright 2012-20
19
Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
# @copyright 2012-20
20
Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
# Univ. Bordeaux. All rights reserved.
# Univ. Bordeaux. All rights reserved.
#
#
###
###
...
@@ -25,9 +25,6 @@
...
@@ -25,9 +25,6 @@
# @date 2014-11-16
# @date 2014-11-16
#
#
###
###
if
(
CHAMELEON_SIMULATION
)
message
(
ERROR
"new-testing directory should not be included when simulation is enabled"
)
endif
()
# Generate chameleon auxiliary testing sources for all possible precisions
# Generate chameleon auxiliary testing sources for all possible precisions
# --------------------------------------------------------------------
# --------------------------------------------------------------------
...
@@ -128,10 +125,14 @@ foreach(_precision ${CHAMELEON_PRECISION} )
...
@@ -128,10 +125,14 @@ foreach(_precision ${CHAMELEON_PRECISION} )
)
)
add_dependencies
(
${
_precision
}
new-testing
add_dependencies
(
${
_precision
}
new-testing
chameleon_include
chameleon_include
coreblas_include
control_include
control_include
new-testing_include
new-testing_include
)
)
if
(
NOT CHAMELEON_SIMULATION
)
add_dependencies
(
${
_precision
}
new-testing
coreblas_include
)
endif
(
NOT CHAMELEON_SIMULATION
)
set_property
(
TARGET
${
_precision
}
new-testing PROPERTY LINKER_LANGUAGE Fortran
)
set_property
(
TARGET
${
_precision
}
new-testing PROPERTY LINKER_LANGUAGE Fortran
)
target_link_libraries
(
${
_precision
}
new-testing
${
libs_for_tests
}
)
target_link_libraries
(
${
_precision
}
new-testing
${
libs_for_tests
}
)
...
...
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