File: flatpak_options.py

package info (click to toggle)
python-escript 5.6-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 144,252 kB
  • sloc: python: 592,062; cpp: 136,909; ansic: 18,675; javascript: 9,411; xml: 3,384; sh: 740; makefile: 203
file content (62 lines) | stat: -rw-r--r-- 1,722 bytes parent folder | download | duplicates (3)
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
53
54
55
56
57
58
59
60
61
62

##############################################################################
#
# Copyright (c) 2003-2018 by The University of Queensland
# http://www.uq.edu.au
#
# Primary Business: Queensland, Australia
# Licensed under the Apache License, version 2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Development until 2012 by Earth Systems Science Computational Center (ESSCC)
# Development 2012-2013 by School of Earth Sciences
# Development from 2014 by Centre for Geoscience Computing (GeoComp)
#
##############################################################################

# This is a template configuration file for escript on Debian/GNU Linux.
# Refer to README_FIRST for usage instructions.

escript_opts_version = 203
#cxx_extra = '-Wno-literal-suffix'
openmp = True
# mpi='OPENMPI'
umfpack=True
silo=True
trilinos=True

prefix='/app'

import os
import sys

cxx_extra='-w -O3'

pythoncmd='/app/bin/python3'
pythonlibpath = '/app/lib'
pythonincpath = '/app/include/python3.7m'

boost_prefix=['/app/include','/app/lib']
netcdf = 4
netcdf_prefix=['/app/include','/app/lib']
mpi_prefix=['/app/include','/app/lib']
mpi_libs=['mpi_cxx']
umfpack_prefix = ['/app/include','/app/lib']
umfpack_libs = ['umfpack', 'blas', 'amd']
lapack_prefix = ['/app/include/', '/app/lib']
silo_prefix = ['/app/include/', '/app/lib']
silo_libs = ['silo','hdf5']
trilinos_prefix = ['/app/include/', '/app/lib']

dudley_assemble_flags = '-funroll-loops'

p3name = ''
for x in os.listdir("/app/lib"):
  if x.startswith('libboost_python3') and x.endswith('.so'):
    p3name=x

# boost-python library/libraries to link against
boost_libs = [p3name[3:-3]]

# this can be used by options files importing us
boost_py3_libs = [p3name[3:-3]]