1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
Options supported by CERNLIB's debian/rules in $DEB_BUILD_OPTIONS:
noopt: Compile everything with no optimization, i.e. -O0. The default
is to compile at -O2 or -O3 for almost all files.
nostrip: Do not strip debugging information from the binaries and libraries.
ifort: Compile with Intel's icc and ifort (formerly ifc) compilers, not
gcc and gfortran. You must first set and export $LD_LIBRARY_PATH,
or edit /etc/ld.so.conf and run ldconfig, such that the Intel
library libimf.so is in the library runtime search path. You also
need to have first installed versions of BLAS and LAPACK compiled
with ifort. This option has not been fully tested.
gfortran: This option used to force compiling with the new GNU FORTRAN
compiler, gfortran. This is now the default compiler so the
option is no longer meaningful. Note, it is no longer easily
possible to build using the old GNU FORTRAN compiler (g77).
Targets supported by CERNLIB's debian/rules:
help: Output this text (found in debian/README.source).
get-orig-source: Recreate the tarballs in the "upstream" directory and
build a new orig.tar.gz file in the ".." dir after removing
non-free files/directories listed in debian/deadpool.txt.
unpack: Expand the upstream tarballs into a subdir "src" of the
current dir.
patched, patch: (These are synonyms.) Apply Debian patches to the unpacked
source code. After this target has been called, any
additional edits to the source code will be preserved when
running "fakeroot debian/rules binary".
unpatch: De-apply Debian patches without deleting unpacked source.
build, clean, etc: Standard Policy-required targets.
It may be of interest to describe some of the contents of the debian directory:
add-ons: Non Debian-specific additions to CERNLIB, including such
things as man pages, Autoconf macros, X11 application defaults,
a master Makefile, and a rewritten "cernlib" dependency script.
control.d: Fragments of the debian/control file. It is regenerated from
these snippets by "debian/rules clean".
debhelper: Files for debhelper tools, kept here so things are tidier.
These are symlinked from the main debian directory at build
time by "debian/rules install-common", and the symlinks are
removed by "debian/rules clean".
lintian: Lintian overrides.
patches: Debian patches to CERNLIB source in dpatch format. (See
debian/patches/README as there are some weird things here.)
po: Translations of the Debconf templates for the pawserv package.
|