Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cmh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
cmh
cmh
Commits
c4b7deee
Commit
c4b7deee
authored
Mar 26, 2014
by
Emmanuel Thomé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid building doc for pari/gp
parent
c3269bfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
README
README
+5
-0
config/build-dependencies.sh
config/build-dependencies.sh
+13
-2
No files found.
README
View file @
c4b7deee
...
...
@@ -61,6 +61,11 @@ The following libraries are optional
- MPI implementation ; any implementation can be used, e.g. openmpi,
mpich, mvapich2, ...
The development platform is recent Debian GNU/Linux, and most testing has
been done in this environment. As a general rule of thumb, if things bomb
out, a reasonable explanation could be subtle distribution differences,
which are not that hard to fix, but terribly annoying indeed.
A convenience script for fetching and building all the software
prerequisites is in ./config/build-dependencies.sh ; this builds all the
needed packages in $topdir/cmh-deps, but can also be tuned to build
...
...
config/build-dependencies.sh
View file @
c4b7deee
...
...
@@ -41,13 +41,23 @@ if [ "$1" != "-k" ] ; then
mkdir
"
$PKG_BUILDTREE
"
fi
# the pari building process calls tex if it happens to be available.
# This, in turn, interacts with stdin apparently. Disgusting, really.
# Should not get in our way any longer now that we do "make gp" for pari
# and not make all, but closing stdin surely can't harm.
exec
</dev/null
compile
()
{
target
=
all
install_target
=
all
pkgname
=
"
$1
"
;
shift
if
[[
$pkgname
=
~ ^pari-
]]
;
then
# Pari seems to be hopelessly bound to in-source build
rsync
-a
$PKG_SOURCETREE
/
$pkgname
/
$PKG_BUILDTREE
/
$pkgname
/
cd
$PKG_BUILDTREE
/
$pkgname
/
./Configure
--prefix
=
$PKG_INSTALLTREE
/
"
$@
"
target
=
gp
install_target
=
"install-lib-dyn install-include install-bin install-man install-misc install-examples install-cfg install-data"
else
cd
$PKG_BUILDTREE
mkdir
-p
$pkgname
...
...
@@ -58,8 +68,9 @@ compile() {
esac
$PKG_SOURCETREE
/
$pkgname
/configure
--prefix
=
$PKG_INSTALLTREE
/
"
$@
"
fi
make
-j
`
grep
-c
^processor /proc/cpuinfo
`
all
make
install
make
-j
`
grep
-c
^processor /proc/cpuinfo
`
$target
make
$install_target
cd
$TOPDIR
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment