Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dune-copasi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
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
COPASI
dune-copasi
Commits
8ac14b58
Commit
8ac14b58
authored
4 years ago
by
Santiago Ospina De Los Ríos
Browse files
Options
Downloads
Patches
Plain Diff
Print cmake log error on failure
parent
704e47b6
No related branches found
No related tags found
1 merge request
!49
Resolve "Finish installation and usage instruction on the documentation"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.ci/install
+5
-1
5 additions, 1 deletion
.ci/install
with
5 additions
and
1 deletion
.ci/install
+
5
−
1
View file @
8ac14b58
...
...
@@ -27,6 +27,10 @@ print_opts_file() {
cat
"
${
DUNE_OPTIONS_FILE
}
"
}
print_cmake_error
()
{
cat
"
${
BUILD_PATH
}
/CMakeFiles/CMakeError.log"
}
cleanup
()
{
echo
"removig intermediate results"
rm
-rf
$BUILD_PATH
...
...
@@ -35,7 +39,7 @@ cleanup() {
# set up verbose output in case of failure
ONFAILURE_PROG
=
"git gcc g++ python pip python3 pip3 cmake
$SUDOCMD
"
ONFAILURE_VARS
=
"PATH SUDOCMD DUNE_OPTIONS_FILE CMAKE_FLAGS"
ONFAILURE_CMD
=
"ls cleanup print_opts_file"
ONFAILURE_CMD
=
"ls cleanup print_opts_file
print_cmake_error
"
trap
onfailure EXIT
...
...
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