Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_pdata
Commits
1845b580
Commit
1845b580
authored
Feb 11, 2019
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding coverage test option
parent
d3ddd645
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
configure
configure
+3
-0
src/CMakeLists.txt
src/CMakeLists.txt
+6
-0
No files found.
configure
View file @
1845b580
...
...
@@ -226,6 +226,9 @@ do
se_class3
)
conf_options
=
"
$conf_options
-DSE_CLASS3=ON"
;;
test_coverage
)
conf_options
=
"
$conf_options
-DTEST_COVERAGE=ON"
;;
gpu
)
if
[
x
"
$CXX
"
==
x
""
]
;
then
conf_options
=
"
$conf_options
"
...
...
src/CMakeLists.txt
View file @
1845b580
...
...
@@ -13,6 +13,9 @@ add_executable(pdata ${OPENFPM_INIT_FILE} ${CUDA_SOURCES} main.cpp Debug/debug_t
if
(
CMAKE_COMPILER_IS_GNUCC
)
target_compile_options
(
pdata PRIVATE
"-Wno-deprecated-declarations"
)
if
(
TEST_COVERAGE
)
target_compile_options
(
pdata PRIVATE $<$<COMPILE_LANGUAGE:CXX>: -fprofile-arcs -ftest-coverage>
)
endif
()
endif
()
...
...
@@ -26,6 +29,9 @@ add_test(NAME pdata_4_proc COMMAND mpirun -np 4 ./pdata)
if
(
CUDA_FOUND
)
target_compile_options
(
pdata PUBLIC $<$<COMPILE_LANGUAGE:CUDA>: -Xcudafe
"--display_error_number --diag_suppress=611 --diag_suppress=2885 --diag_suppress=2886 --diag_suppress=2887 --diag_suppress=2888 --diag_suppress=186 --diag_suppress=111"
--expt-extended-lambda>
)
target_include_directories
(
pdata PUBLIC
${
MPI_C_INCLUDE_DIRS
}
)
if
(
TEST_COVERAGE
)
target_compile_options
(
pdata PRIVATE $<$<COMPILE_LANGUAGE:CUDA>: -Xcompiler
"-fprofile-arcs -ftest-coverage"
>
)
endif
()
endif
()
target_include_directories
(
pdata PUBLIC
${
PARMETIS_ROOT
}
/include
)
...
...
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