Skip to content

Commit 8394bba

Browse files
committed
Updated Anaconda build files
1 parent a47b2ae commit 8394bba

File tree

7 files changed

+37
-208
lines changed

7 files changed

+37
-208
lines changed

tools/anaconda/Anaconda2/bld.bat

Lines changed: 0 additions & 42 deletions
This file was deleted.

tools/anaconda/Anaconda2/build.sh

Lines changed: 0 additions & 55 deletions
This file was deleted.

tools/anaconda/Anaconda2/meta.yaml

Lines changed: 0 additions & 67 deletions
This file was deleted.
File renamed without changes.

tools/anaconda/Anaconda3/build.sh renamed to tools/anaconda/build.sh

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ CXXFLAGS="${CXXFLAGS} -i sysroot ${CONDA_BUILD_SYSROOT} -fPIC -w -fopenmp"
1010
TRILINOS=0
1111
MPI='no'
1212

13+
echo debugout
14+
python --version
15+
find ${PREFIX} -iname libboost_python* 2>/dev/null
16+
find ${PREFIX} -iname Python.h 2>/dev/null
17+
find ${PREFIX} -iname libpython* 2>/dev/null
18+
find ${PREFIX} -iname libumfpack* 2>/dev/null
19+
1320
if [ ${CONDA_PY} -eq 38 ]
1421
then
1522
BOOST_LIBS="boost_python${CONDA_PY}"
@@ -27,19 +34,15 @@ then
2734
else
2835
DEFAULT_HDF5_INCDIR=$PREFIX/include
2936
DEFAULT_HDF5_LIBDIR=$PREFIX/lib
30-
# cd ${SRC_DIR}/silo
31-
# ./configure --prefix=${PREFIX} \
32-
# --with-hdf5=${PREFIX}/include,${PREFIX}/lib \
33-
# --with-zlib=$PREFIX/include,$PREFIX/lib
34-
# make -j"${CPU_COUNT}"
35-
# make -j"${CPU_COUNT}" install
3637
BOOST_LIBS="boost_python${CONDA_PY}"
3738
PYTHON_LIB_PATH="${PREFIX}/lib"
3839
PYTHON_INC_PATH="${PREFIX}/include/python${PY_VER}m"
3940
PYTHON_LIB_NAME="python${PY_VER}m"
4041
BUILD_SILO=0
4142
fi
4243

44+
BUILD_SILO=0
45+
4346
cd ${SRC_DIR}/escript
4447
if [ ${PY3K} -eq 1 ]
4548
then
@@ -52,7 +55,8 @@ then
5255
cxx_extra="-w -fPIC -fdiagnostics-color -std=c++11 " \
5356
cppunit_prefix=${PREFIX} \
5457
ld_extra="-L${PREFIX}/lib -lgomp" \
55-
mpi=${MPI} \
58+
netcdf='no' \
59+
openmp=1 \
5660
omp_flags="-fopenmp" \
5761
prefix=${PREFIX} \
5862
pythoncmd=${PREFIX}/bin/python \
@@ -61,8 +65,6 @@ then
6165
pythonlibname=${PYTHON_LIB_NAME} \
6266
silo=${BUILD_SILO} \
6367
silo_prefix=${PREFIX} \
64-
trilinos=${TRILINOS} \
65-
trilinos_prefix=${PREFIX} \
6668
umfpack_prefix=${PREFIX} \
6769
verbose=1 \
6870
build_full || cat config.log
@@ -89,7 +91,7 @@ else
8991
trilinos=0 \
9092
umfpack=0 \
9193
umfpack_prefix="${PREFIX}" \
92-
netcdf=no \
94+
netcdf='no' \
9395
werror=0 \
9496
verbose=0 \
9597
compressed_files=0 \

tools/anaconda/Anaconda3/meta.yaml renamed to tools/anaconda/meta.yaml

Lines changed: 25 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set version = "5.7" %}
1+
{% set version = "5.9" %}
22

33
package:
44
name: esys-escript
@@ -8,66 +8,57 @@ source:
88
sha256: e3fe3d2ec06c1c2772555bf1208d220aab5fee186d04bd265219b0bc7a978edc
99
folder: netcdf-cxx4
1010
patches: netcdf-cxx4.patch
11-
- url: https://github.com/esys-escript/esys-escript.github.io/archive/refs/tags/5.7.tar.gz
12-
sha256: 413e0a7012c0d384bf1cfb567c87e4c4e13963dc32cdd9cb7c4eabd10ce18af1
11+
- url: https://github.com/esys-escript/esys-escript.github.io/archive/refs/tags/5.9pre.tar.gz
12+
sha256: 076ffae508aa7b1d9e4b2075e3592a0743146a48e31d3489c892ff223b9ec6a6
1313
folder: escript
1414
build:
1515
skip: True # [win]
1616
skip: True # [osx]
1717
number: 0
1818
requirements:
1919
build:
20-
# - {{ compiler('openmpi-mpicxx') }}
2120
- {{ compiler('cxx') }}
2221
- scons >3.0.5
2322
- cmake
2423
- make
2524
- python
26-
- numpy # [win and py>=38]
27-
- numpy ==1.15.4 # [win and py<=37]
28-
- mumps # [win]
25+
- numpy
26+
- mumps
2927
- git
3028
host:
3129
- boost-cpp
3230
- boost
33-
- numpy # [win and py>=38]
34-
- numpy ==1.15.4 # [win and py<=37]
31+
- libboost
32+
- numpy
3533
- python
36-
- matplotlib # [linux]
37-
- matplotlib # [win and py>=38]
38-
- matplotlib ==2.2.2 # [win and py<=37]
34+
- matplotlib
3935
- hdf5 # [linux]
40-
- libopenblas # [linux]
36+
- libblas # [linux]
4137
- pyproj
4238
- scipy
4339
- suitesparse # [linux]
44-
- sympy # [win and py>=38]
45-
- sympy ==1.1.1 # [win and py<=37]
40+
- sympy
4641
- gmsh # [win]
47-
- mumps # [win]
48-
# - trilinos # [linux]
49-
# - openmpi # [linux]
50-
# - openmpi-mpicxx # [linux]
42+
- mumps
43+
- libblas <=3.8.0 # [linux and py==38]
44+
- libblas <=3.8.0 # [linux and py==37]
5145
run:
5246
- boost-cpp
5347
- boost
54-
- numpy # [linux]
55-
- numpy # [win and py>=38]
56-
- numpy ==1.15.4 # [win and py<=37]
57-
- python
58-
- matplotlib # [linux]
59-
- matplotlib # [win and py>=38]
60-
- matplotlib ==2.2.2 # [win and py<=37]
48+
- libboost
49+
- numpy
50+
- python
51+
- matplotlib
6152
- hdf5 # [linux]
62-
- pyproj
63-
- scipy
64-
- sympy # [win and py>=38]
65-
- sympy ==1.1.1 # [win and py<=37]
53+
- libblas # [linux]
54+
- pyproj
55+
- scipy
56+
- suitesparse # [linux]
57+
- sympy
6658
- gmsh # [win]
67-
- mumps # [win]
68-
# - trilinos # [linux]
69-
# - openmpi # [linux]
70-
# - openmpi-mpicxx # [linux]
59+
- mumps
60+
- libblas <=3.8.0 # [linux and py==38]
61+
- libblas <=3.8.0 # [linux and py==37]
7162
test:
7263
commands:
7364
- run-escript -c
File renamed without changes.

0 commit comments

Comments
 (0)