Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mpi-defaults
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Debian Science Team
mpi-defaults
Commits
4fa28c22
Verified
Commit
4fa28c22
authored
9 years ago
by
Mattia Rizzolo
Browse files
Options
Downloads
Patches
Plain Diff
Add control.in and code to generate d/control out of the list of known architectures
parent
07ef8a62
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/control.in
+34
-0
34 additions, 0 deletions
debian/control.in
debian/rules
+17
-0
17 additions, 0 deletions
debian/rules
with
51 additions
and
0 deletions
debian/control.in
0 → 100644
+
34
−
0
View file @
4fa28c22
Source: mpi-defaults
Section: devel
Priority: extra
Maintainer: Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Uploaders: "Adam C. Powell, IV" <hazelsct@debian.org>, Manuel Prinz <manuel@debian.org>
Standards-Version: 3.9.7
Build-Depends: debhelper (>= 9),
libopenmpi-dev (>= 1.4.3-2.1) [%OPENMPI_ARCHITECTURES%],
openmpi-bin (>= 1.4.3-2.1) [%OPENMPI_ARCHITECTURES%],
libmpich-dev [%MPICH_ARCHITECTURES%],
mpich [%MPICH_ARCHITECTURES%]
Vcs-Browser: https://anonscm.debian.org/git/debian-science/packages/mpi-defaults.git
Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/mpi-defaults.git
Package: mpi-default-dev
Architecture: any
Section: libdevel
Depends: ${mpi-dev}, ${misc:Depends}
Description: Standard MPI development files (metapackage)
This metapackage depends on the development files of the recommended MPI
implementation for each platform, currently Open MPI on all of the platforms
where it exists, and MPICH on the others. The package which this depends on
has alternatives links for the shared libraries libmpi and libmpi++, and for
compilers mpicc, mpic++/mpicxx/mpiCC, mpif77 and mpi90 and their manpages.
Package: mpi-default-bin
Architecture: any
Section: net
Depends: ${mpi}, ${misc:Depends}
Description: Standard MPI runtime programs (metapackage)
This metapackage depends on the runtime programs of the recommended MPI
implementation for each platform, currently Open MPI on all of the platforms
where it exists, and MPICH on the others. The package which this depends on
has alternatives links for mpirun and mpiexec.
This diff is collapsed.
Click to expand it.
debian/rules
+
17
−
0
View file @
4fa28c22
...
...
@@ -58,3 +58,20 @@ override_dh_gencontrol:
override_dh_install:
dh_install -pmpi-default-dev $d usr/share/mpi-default-dev/
override_dh_clean:
dh_clean
cp debian/control.in debian/control.tmp
@echo "Generating the control file..."
sed -i "s,%OPENMPI_ARCHITECTURES%,$(OPENMPI_ARCHITECTURES),g" debian/control.tmp
sed -i "s,%MPICH_ARCHITECTURES%,$(MPICH_ARCHITECTURES),g" debian/control.tmp
set -e ; if ! diff -q debian/control debian/control.tmp > /dev/null; then \
echo ;\
echo "The generated control file differs from the actual one." ;\
echo "A sourceful upload of this package is needed." ;\
echo ;\
echo "Differences:" ;\
diff -u debian/control debian/control.tmp ;\
else \
rm debian/control.tmp ;\
fi
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