Exemple #1
0
noOpencv = '--no-opencv' in sys.argv or not get('OPENCV')
noScipy = '--no-scipy' in sys.argv or not get('SCIPY')

#  ************************************************************************
#  *                                                                      *
#  *                              Libraries                               *
#  *                                                                      *
#  ************************************************************************

cmake = env.addLibrary(
    'cmake',
    tar='cmake-3.2.2.tgz',
    targets=[env.getBin('cmake')],
    commands=[
        ('cd software/tmp/cmake-3.2.2; '
         './bootstrap --prefix=../.. --parallel=%d' % env.getProcessors(),
         'software/tmp/cmake-3.2.2/Makefile'),
        ('cd software/tmp/cmake-3.2.2; make install -j %d' %
         env.getProcessors(), 'software/bin/cmake')
    ],
    default=False)

# In order to get both the float and double libraries of fftw
# we need to execute ./configure; make; make install twice
# see: http://www.fftw.org/fftw2_doc/fftw_6.html
fftw3 = env.addLibrary(
    'fftw3',
    tar='fftw-3.3.4.tgz',
    flags=['--enable-threads', '--enable-shared'],
    clean=True)  # We need to clean to configure again with --enable-float
Exemple #2
0
SW_BIN = SW + '/bin'
SW_LIB = SW + '/lib'
SW_INC = SW + '/include'

#  ************************************************************************
#  *                                                                      *
#  *                              Libraries                               *
#  *                                                                      *
#  ************************************************************************

cmake = env.addLibrary(
    'cmake',
    tar='cmake-3.2.2.tgz',
    targets=[env.getBin('cmake')],
    commands=[('cd software/tmp/cmake-3.2.2; '
               './bootstrap --prefix=../.. --parallel=%d' % env.getProcessors(),
               'software/tmp/cmake-3.2.2/Makefile'),
              ('cd software/tmp/cmake-3.2.2; make install -j %d'
               % env.getProcessors(), 'software/bin/cmake')],
    default=False)

# In order to get both the float and double libraries of fftw
# we need to execute ./configure; make; make install twice
# see: http://www.fftw.org/fftw2_doc/fftw_6.html
fftw3 = env.addLibrary(
    'fftw3',
    tar='fftw-3.3.4.tgz',
    flags=['--enable-threads', '--enable-shared'],
    clean=True) # We need to clean to configure again with --enable-float
    
fftw3f = env.addLibrary(
Exemple #3
0
noOpencv = '--no-opencv' in sys.argv or not get('OPENCV')
noScipy = '--no-scipy' in sys.argv or not get('SCIPY')


#  ************************************************************************
#  *                                                                      *
#  *                              Libraries                               *
#  *                                                                      *
#  ************************************************************************

cmake = env.addLibrary(
    'cmake',
    tar='cmake-3.2.2.tgz',
    targets=[env.getBin('cmake')],
    commands=[('cd software/tmp/cmake-3.2.2; '
               './bootstrap --prefix=../.. --parallel=%d' % env.getProcessors(),
               'software/tmp/cmake-3.2.2/Makefile'),
              ('cd software/tmp/cmake-3.2.2; make install -j %d'
               % env.getProcessors(), 'software/bin/cmake')],
    default=False)

# In order to get both the float and double libraries of fftw
# we need to execute ./configure; make; make install twice
# see: http://www.fftw.org/fftw2_doc/fftw_6.html
fftw3 = env.addLibrary(
    'fftw3',
    tar='fftw-3.3.4.tgz',
    flags=['--enable-threads', '--enable-shared'],
    clean=True) # We need to clean to configure again with --enable-float
    
fftw3f = env.addLibrary(
Exemple #4
0
SW_BIN = SW + '/bin'
SW_LIB = SW + '/lib'
SW_INC = SW + '/include'

#  ************************************************************************
#  *                                                                      *
#  *                              Libraries                               *
#  *                                                                      *
#  ************************************************************************

cmake = env.addLibrary(
    'cmake',
    tar='cmake-3.2.2.tgz',
    targets=[env.getBin('cmake')],
    commands=[('cd software/tmp/cmake-3.2.2; '
               './bootstrap --prefix=../.. --parallel=%d' % env.getProcessors(),
               'software/tmp/cmake-3.2.2/Makefile'),
              ('cd software/tmp/cmake-3.2.2; make install -j %d'
               % env.getProcessors(), 'software/bin/cmake')],
    default=False)

# In order to get both the float and double libraries of fftw
# we need to execute ./configure; make; make install twice
# see: http://www.fftw.org/fftw2_doc/fftw_6.html
fftw3 = env.addLibrary(
    'fftw3',
    tar='fftw-3.3.4.tgz',
    flags=['--enable-threads', '--enable-shared'],
    clean=True) # We need to clean to configure again with --enable-float
    
fftw3f = env.addLibrary(