Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nicafemto
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
NICA
nicafemto
Commits
55ac669d
Commit
55ac669d
authored
3 years ago
by
Daniel Wielanek
Browse files
Options
Downloads
Patches
Plain Diff
trying to set path to compilers by hand
parent
27522c4c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#16526
failed
3 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-0
3 additions, 0 deletions
.gitlab-ci.yml
cmake/modules/CMakeListsExternal.cmake
+6
-0
6 additions, 0 deletions
cmake/modules/CMakeListsExternal.cmake
with
9 additions
and
0 deletions
.gitlab-ci.yml
+
3
−
0
View file @
55ac669d
...
...
@@ -18,6 +18,9 @@ variables:
-
export ROOTSYS=$SIMPATH
-
export PATH=$SIMPATH/bin:$PATH
-
export LD_LIBRARY_PATH=$SIMPATH/lib:$SIMPATH/lib/root:$LD_LIBRARY_PATH
-
export CXX=`fairsoft-config --cxx`
-
export CC=`fairsoft-config --cc`
-
export FC=`fairsoft-config --f77`
-
mkdir build
-
cd build
-
cmake -DCMAKE_INSTALL_PREFIX=../inst ..
...
...
This diff is collapsed.
Click to expand it.
cmake/modules/CMakeListsExternal.cmake
+
6
−
0
View file @
55ac669d
...
...
@@ -54,6 +54,12 @@ if(NOT DEFINED NICAFEMTO_SUBDIR_BUILD)
EndIf
()
#target_compile_features(${TARGET_NAME} PRIVATE cxx_std_17)
If
(
NOT _HAS_CXX17_FLAG
)
Message
(
FATAL_ERROR
"The used C++ compiler (
${
CMAKE_CXX_COMPILER
}
) does not support C++17. NicaFemto can only be compiled with compilers supporting C++11. Please install such an compiler."
)
else
()
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++17"
)
EndIf
()
Set
(
LIBRARY_OUTPUT_PATH
"
${
CMAKE_BINARY_DIR
}
/lib"
)
...
...
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