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
92b43fbf
Commit
92b43fbf
authored
5 years ago
by
Ralf Ulrich
Browse files
Options
Downloads
Plain Diff
Merge branch '169-compilation-fails-on-appleclang-and-gcc-8' into 'master'
Resolve "Compilation fails on AppleClang and gcc-8" Closes
#169
See merge request
!103
parents
77c612e2
f92be551
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Documentation/Examples/CMakeLists.txt
+69
-63
69 additions, 63 deletions
Documentation/Examples/CMakeLists.txt
Framework/StackInterface/testCombinedStack.cc
+1
-1
1 addition, 1 deletion
Framework/StackInterface/testCombinedStack.cc
with
70 additions
and
64 deletions
Documentation/Examples/CMakeLists.txt
+
69
−
63
View file @
92b43fbf
...
...
@@ -22,27 +22,29 @@ target_link_libraries (stack_example SuperStupidStack CORSIKAunits
CORSIKAlogging
)
CORSIKA_ADD_TEST
(
stack_example
)
add_executable
(
cascade_example cascade_example.cc
)
target_compile_options
(
cascade_example PRIVATE -g
)
# do not skip asserts
target_link_libraries
(
cascade_example SuperStupidStack CORSIKAunits
CORSIKAlogging
CORSIKArandom
ProcessSibyll
ProcessPythia
CORSIKAcascade
ProcessEnergyLoss
ProcessStackInspector
ProcessTrackWriter
ProcessTrackingLine
CORSIKAprocesses
CORSIKAcascade
CORSIKAparticles
CORSIKAgeometry
CORSIKAenvironment
CORSIKAprocesssequence
)
install
(
TARGETS cascade_example DESTINATION share/examples
)
CORSIKA_ADD_TEST
(
cascade_example
)
if
(
Pythia8_FOUND
)
add_executable
(
cascade_example cascade_example.cc
)
target_compile_options
(
cascade_example PRIVATE -g
)
# do not skip asserts
target_link_libraries
(
cascade_example SuperStupidStack CORSIKAunits
CORSIKAlogging
CORSIKArandom
ProcessSibyll
ProcessPythia
CORSIKAcascade
ProcessEnergyLoss
ProcessStackInspector
ProcessTrackWriter
ProcessTrackingLine
CORSIKAprocesses
CORSIKAcascade
CORSIKAparticles
CORSIKAgeometry
CORSIKAenvironment
CORSIKAprocesssequence
)
install
(
TARGETS cascade_example DESTINATION share/examples
)
CORSIKA_ADD_TEST
(
cascade_example
)
endif
()
add_executable
(
boundary_example boundary_example.cc
)
target_compile_options
(
boundary_example PRIVATE -g
)
# do not skip asserts
...
...
@@ -62,50 +64,54 @@ target_link_libraries (boundary_example SuperStupidStack CORSIKAunits CORSIKAlog
install
(
TARGETS boundary_example DESTINATION share/examples
)
CORSIKA_ADD_TEST
(
boundary_example
)
add_executable
(
cascade_proton_example cascade_proton_example.cc
)
target_compile_options
(
cascade_proton_example PRIVATE -g
)
# do not skip asserts
target_link_libraries
(
cascade_proton_example SuperStupidStack CORSIKAunits
CORSIKAlogging
CORSIKArandom
ProcessSibyll
ProcessPythia
CORSIKAcascade
ProcessEnergyLoss
ProcessTrackWriter
ProcessTrackingLine
ProcessHadronicElasticModel
CORSIKAprocesses
CORSIKAcascade
CORSIKAparticles
CORSIKAgeometry
CORSIKAenvironment
CORSIKAprocesssequence
)
if
(
Pythia8_FOUND
)
add_executable
(
cascade_proton_example cascade_proton_example.cc
)
target_compile_options
(
cascade_proton_example PRIVATE -g
)
# do not skip asserts
target_link_libraries
(
cascade_proton_example SuperStupidStack CORSIKAunits
CORSIKAlogging
CORSIKArandom
ProcessSibyll
ProcessPythia
CORSIKAcascade
ProcessEnergyLoss
ProcessTrackWriter
ProcessTrackingLine
ProcessHadronicElasticModel
CORSIKAprocesses
CORSIKAcascade
CORSIKAparticles
CORSIKAgeometry
CORSIKAenvironment
CORSIKAprocesssequence
)
install
(
TARGETS cascade_proton_example DESTINATION share/examples
)
CORSIKA_ADD_TEST
(
cascade_proton_example
)
install
(
TARGETS cascade_proton_example DESTINATION share/examples
)
CORSIKA_ADD_TEST
(
cascade_proton_example
)
endif
()
add_executable
(
vertical_EAS vertical_EAS.cc
)
target_compile_options
(
vertical_EAS PRIVATE -g
)
# do not skip asserts
target_link_libraries
(
vertical_EAS SuperStupidStack CORSIKAunits
CORSIKAlogging
CORSIKArandom
ProcessSibyll
ProcessPythia
CORSIKAcascade
ProcessEnergyLoss
ProcessTrackWriter
ProcessTrackingLine
ProcessHadronicElasticModel
CORSIKAprocesses
CORSIKAcascade
CORSIKAparticles
CORSIKAgeometry
CORSIKAenvironment
CORSIKAprocesssequence
)
install
(
TARGETS vertical_EAS DESTINATION share/examples
)
# CORSIKA_ADD_TEST (vertical_EAS) not yet...
if
(
Pythia8_FOUND
)
add_executable
(
vertical_EAS vertical_EAS.cc
)
target_compile_options
(
vertical_EAS PRIVATE -g
)
# do not skip asserts
target_link_libraries
(
vertical_EAS SuperStupidStack CORSIKAunits
CORSIKAlogging
CORSIKArandom
ProcessSibyll
ProcessPythia
CORSIKAcascade
ProcessEnergyLoss
ProcessTrackWriter
ProcessTrackingLine
ProcessHadronicElasticModel
CORSIKAprocesses
CORSIKAcascade
CORSIKAparticles
CORSIKAgeometry
CORSIKAenvironment
CORSIKAprocesssequence
)
install
(
TARGETS vertical_EAS DESTINATION share/examples
)
# CORSIKA_ADD_TEST (vertical_EAS) not yet...
endif
()
add_executable
(
staticsequence_example staticsequence_example.cc
)
target_compile_options
(
staticsequence_example PRIVATE -g
)
# do not skip asserts
...
...
This diff is collapsed.
Click to expand it.
Framework/StackInterface/testCombinedStack.cc
+
1
−
1
View file @
92b43fbf
...
...
@@ -333,7 +333,7 @@ using StackTest2 = CombinedStack<typename StackTest::StackImpl, TestStackData3,
CombinedTestInterfaceType2
>
;
#if defined(__clang__)
using
StackTestView
=
SecondaryView
<
TestStack
Data
,
TestParticle
Interface
>
;
using
StackTestView
=
SecondaryView
<
typename
Stack
Test
2
::
Stack
Impl
,
CombinedTest
Interface
Type2
>
;
#elif defined(__GNUC__) || defined(__GNUG__)
using
StackTestView
=
corsika
::
stack
::
MakeView
<
StackTest2
>::
type
;
#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