wiki:Packages

Building packages

Packages are simply built typing

make package

Source packages

To build source packages configure ALPS using

cmake -DBUILD_ALPS_SOURCE=ON ...

Packaging options

The following options can be used to control what is contained in the packages:

  1. ALPS_BUILD_APPLICATIONS
  2. ALPS_BUILD_DOC
  3. ALPS_INCLUDE_BOOST_SOURCE

Building Debian packages (release/prerelease)

CPack lacks features on multiple binary package creation. Instead, we invoke cmake from cdbs packaging system. All the needed file are located under config/debian/sid.

  1. Install dependent packages
    $ sudo aptitude install cdbs fakeroot
    
  2. Checkout alps source (Or use source package)
    $ svn co https://alps.comp-phys.org/svn/alps1/trunk/alps && cd alps
    
  3. Set symbolic link of config/debian/sid to 'debian'
    $ ln -s config/debian/sid debian
    
  4. Run debuild (can be compiled in parallel)
    $ DEB_BUILD_OPTIONS="parallel=8" debuild -us -uc -rfakeroot
    
  5. Install built package using dpkg
    $ cd .. && sudo dpkg -i *.deb
    
Last modified 4 years ago Last modified on Sep 17, 2015, 3:54:16 PM