IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
corsika
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue 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
Antonio Augusto Alves Junior
corsika
Commits
986e19aa
Commit
986e19aa
authored
5 years ago
by
Hans Dembinski
Browse files
Options
Downloads
Patches
Plain Diff
fix
parent
bc20df1b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
CMakeModules/CorsikaUtilities.cmake
+3
-6
3 additions, 6 deletions
CMakeModules/CorsikaUtilities.cmake
with
4 additions
and
7 deletions
.gitlab-ci.yml
+
1
−
1
View file @
986e19aa
...
@@ -14,7 +14,7 @@ build:
...
@@ -14,7 +14,7 @@ build:
-
cmake --build . -- -j4
-
cmake --build . -- -j4
-
UBSAN_OPTIONS=print_stacktrace=1
-
UBSAN_OPTIONS=print_stacktrace=1
LSAN_OPTIONS=verbosity=1:log_threads=1
LSAN_OPTIONS=verbosity=1:log_threads=1
ASAN_OPTIONS=detect_leaks=
1
:detect_stack_use_after_return=1 ctest -V -O test.log
ASAN_OPTIONS=detect_leaks=
0
:detect_stack_use_after_return=1 ctest -V -O test.log
artifacts
:
artifacts
:
expire_in
:
1 week
expire_in
:
1 week
paths
:
paths
:
...
...
This diff is collapsed.
Click to expand it.
CMakeModules/CorsikaUtilities.cmake
+
3
−
6
View file @
986e19aa
...
@@ -103,12 +103,9 @@ function (CORSIKA_ADD_TEST name)
...
@@ -103,12 +103,9 @@ function (CORSIKA_ADD_TEST name)
file
(
MAKE_DIRECTORY
${
PROJECT_BINARY_DIR
}
/test_outputs/
)
file
(
MAKE_DIRECTORY
${
PROJECT_BINARY_DIR
}
/test_outputs/
)
add_test
(
NAME
${
name
}
COMMAND
${
name
}
-o
${
PROJECT_BINARY_DIR
}
/test_outputs/junit-
${
name
}
.xml -r junit
)
add_test
(
NAME
${
name
}
COMMAND
${
name
}
-o
${
PROJECT_BINARY_DIR
}
/test_outputs/junit-
${
name
}
.xml -r junit
)
# set(sanitize "address,implicit-integer-truncation,implicit-conversion,integer,alignment,bool,builtin,bounds,enum,float-cast-overflow,function,pointer-overflow,return,shift,shift-base,shift-exponent,unreachable,vla-bound,vptr")
# set(sanitize "address,implicit-integer-truncation,implicit-conversion,integer,alignment,bool,builtin,bounds,enum,float-cast-overflow,function,pointer-overflow,return,shift,shift-base,shift-exponent,unreachable,vla-bound,vptr")
set
(
sanitize
"address,undefined"
)
# standard options not ideal, because we want to allow divide-by-zero for floats,
### leak sanitizer disabled for now, doesn't work on buildbot
# but gcc-7 doesn't support all the detailed flags
# if(NOT CMAKE_CXX_COMPILER_ID STREQUAL AppleClang)
set
(
sanitize
"address,undefined"
)
# # Apple has some security measures which interfere with the leak sanitizer, so we can't use it on OSX
# set(sanitize "leak,${sanitize}")
# endif()
target_compile_options
(
${
name
}
PRIVATE -fno-omit-frame-pointer -fsanitize=
${
sanitize
}
-fno-sanitize-recover=all
)
target_compile_options
(
${
name
}
PRIVATE -fno-omit-frame-pointer -fsanitize=
${
sanitize
}
-fno-sanitize-recover=all
)
set_target_properties
(
${
name
}
PROPERTIES LINK_FLAGS
"-fsanitize=
${
sanitize
}
"
)
set_target_properties
(
${
name
}
PROPERTIES LINK_FLAGS
"-fsanitize=
${
sanitize
}
"
)
...
...
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