Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
BOXMOX
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
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
MBEES
BOXMOX
Commits
5c98bac3
Commit
5c98bac3
authored
3 years ago
by
Christoph Knote
Browse files
Options
Downloads
Patches
Plain Diff
Introduce build script
parent
8e84416f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+1
-8
1 addition, 8 deletions
.gitlab-ci.yml
Makefile.am
+3
-3
3 additions, 3 deletions
Makefile.am
build_dist.bash
+11
-0
11 additions, 0 deletions
build_dist.bash
doc/Makefile.am
+3
-3
3 additions, 3 deletions
doc/Makefile.am
with
18 additions
and
14 deletions
.gitlab-ci.yml
+
1
−
8
View file @
5c98bac3
...
...
@@ -10,14 +10,7 @@ build:
-
DEBIAN_FRONTEND=noninteractive apt-get -qq install wget patch make gcc gfortran flex bison texlive autoconf autotools-dev
-
"
[
-f
./version
]
&&
export
VERSION=$(cat
./version)"
script
:
-
aclocal
-
autoconf
-
automake -a -c
-
./configure --prefix="$CI_PROJECT_DIR/build"
-
make
-
make install
-
make dist
-
make distcheck
-
. build_dist.bash "$CI_PROJECT_DIR/build"
artifacts
:
name
:
boxmox-dist-$CI_COMMIT_SHORT_SHA
paths
:
...
...
This diff is collapsed.
Click to expand it.
Makefile.am
+
3
−
3
View file @
5c98bac3
...
...
@@ -32,9 +32,6 @@
SUBDIRS
=
src doc
EXTRA_DIST
=
src/bison.h src/code.h src/gdata.h src/gdef.h src/scan.h
nobase_dist_pkgdata_DATA
=
drv/boxmox_adjoint.f90 drv/boxmox.f90
#drv examples case_studies int models util
dist_doc_DATA
=
README.md
dist_bin_SCRIPTS
=
scripts/list_BOXMOX_mechanisms
\
scripts/new_BOXMOX_experiment
\
...
...
@@ -53,3 +50,6 @@ all-local:
@
echo
"export KPP_HOME=
${
prefix
}
"
@
echo
"export PATH=
\$
$KPP_HOME
/bin:
\$
$KPP_HOME
/boxmox/bin:
\$
$PATH
"
@
echo
" "
nobase_dist_pkgdata_DATA
=
drv/boxmox_adjoint.f90 drv/boxmox.f90
#drv examples case_studies int models util
This diff is collapsed.
Click to expand it.
build_dist.bash
0 → 100755
+
11
−
0
View file @
5c98bac3
#!/bin/sh
buildDir
=
$1
aclocal
autoconf
automake
-a
-c
./configure
--prefix
=
"
${
buildDir
}
"
make
make
install
make dist
make distcheck
This diff is collapsed.
Click to expand it.
doc/Makefile.am
+
3
−
3
View file @
5c98bac3
doc
_DATA
=
kpp_UserManual.pdf
doc
files
=
kpp_UserManual.pdf
if
HAVE_PDFLATEX
doc
_DATA
+=
boxmox_UserManual.pdf
doc
files
+=
boxmox_UserManual.pdf
boxmox_UserManual.pdf
:
boxmox_UserManual.tex
@
pdflatex@
$<
@
pdflatex@
$<
...
...
@@ -10,4 +10,4 @@ clean-local:
rm
-f
*
.log
*
.out
*
.toc
*
.aux boxmox_UserManual.pdf
endif
dist_doc_DATA
=
$(
doc_DATA
)
\ No newline at end of file
doc_DATA
=
$(
docfiles
)
\ No newline at end of file
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