Commit 14d78400 authored by Philipp Trunschke's avatar Philipp Trunschke

Merge branch 'conda' of git.hemio.de:xerus/xerus into conda

parents 93049c5f 41c7c4d2
......@@ -16,6 +16,7 @@ PYTHON3_CONFIG += `python3-config --ldflags`
LOGGING += -D XERUS_LOG_INFO # Information that is not linked to any unexpected behaviour but might nevertheless be of interest.
LOGGING += -D XERUS_LOGFILE # Use 'error.log' file instead of cerr
LOGGING += -D XERUS_LOG_ABSOLUTE_TIME # Print absolute times instead of relative to program time
XERUS_NO_FANCY_CALLSTACK = TRUE # Show simple callstacks only
INSTALL_LIB_PATH = ${PREFIX}/lib # Path where to install the libxerus.so shared library.
INSTALL_HEADER_PATH = ${PREFIX}/include # Path where to install the xerus header files.
......@@ -26,12 +27,13 @@ LAPACK_LIBRARIES = -llapacke -llapack # Standard Lapack + Lapacke libraries
SUITESPARSE = -lcholmod -lspqr
BOOST_LIBS = -lboost_filesystem
BOOST_PYTHON3 = -lboost_python37
BOOST_PYTHON3 = -lboost_python${CONDA_PY}
OTHER+= -L${BUILD_PREFIX}/lib
EOF
test ${CONDA_PY} = ${PY_VER//./} # this should always be the case
printenv
export CPP_INCLUDE_PATH=${BUILD_PREFIX}/include:${BUILD_PREFIX}/lib/python${PY_VER}/site-packages/numpy/core/include/
export CPLUS_INCLUDE_PATH=${BUILD_PREFIX}/include:${BUILD_PREFIX}/lib/python${PY_VER}/site-packages/numpy/core/include/
......@@ -40,6 +42,7 @@ export LIBRARY_PATH=${BUILD_PREFIX}/lib
ln -sfn ${BUILD_PREFIX}/include/ ${BUILD_PREFIX}/include/suitesparse # overwrite existing symbolic links
mkdir -p ${PREFIX}/lib/python${PY_VER}
mkdir -p ${PREFIX}/include/
make test -j$((${CPU_COUNT}-1))
......
......@@ -4,7 +4,7 @@ package:
source:
git_url: https://github.com/libxerus/xerus.git
git_tag: conda
git_tag: development
requirements:
build:
......@@ -16,11 +16,10 @@ requirements:
- boost=1.69.0
- python=3.7
- numpy>=1.16
- binutils
- gdb
- backward-cpp
#- binutils # former source of bfd
#- gdb # bfd
#- backward-cpp # option for better python-like backtraces
- openmp
run:
- openblas
- suitesparse
......@@ -28,30 +27,30 @@ requirements:
- boost=1.69.0
- python=3.7
- numpy>=1.16
- binutils
- gdb
- backward-cpp
#- binutils # former source of bfd
#- gdb # bfd
#- backward-cpp # option for better python-like backtraces
- openmp
test:
files:
- Makefile
source_files:
- makeIncludes
- src/xerus/test
- src/unitTests
- src/pyTests
requires:
- make
- {{ compiler('cxx') }}
- pytest
#test:
# files:
# - Makefile
#
# source_files:
# - makeIncludes
# - src/xerus/test
# - src/unitTests
# - src/pyTests
#
# requires:
# - make
# - {{ compiler('cxx') }}
# - pytest
build:
# already linked relative to $ORIGIN, so we need to turn
# off conda's relocation mechanism because it screws it up
binary_relocation: false
binary_relocation: true
about:
home: https://git.hemio.de/xerus/xerus.git
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment