forked from devsim/devsim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_msys.sh
More file actions
30 lines (21 loc) · 852 Bytes
/
build_msys.sh
File metadata and controls
30 lines (21 loc) · 852 Bytes
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
#!/bin/bash
set -e
export PATH=/mingw64/bin:/usr/bin:${PATH}
# msys Specific
#pacman -Su --noconfirm rsync zip
pacman -Su --noconfirm make
# handle miniconda in appveyor.yml
export CXX=g++
export PYTHON3_BIN=python
export PYTHON3_INCLUDE=$(python -c "from sysconfig import get_paths as gp; print(gp()['include'])")
export PYTHON3_ARCHIVE=$(cygpath -w ${CONDA_PREFIX}/libs/python3.lib)
# this script assumes git clone and submodule initialization has been done
# SYMDIFF build
(cd external/symdiff && bash ../symdiff_msys.sh && cd msys_x86_64_release && make -j2);
# SuperLU
(cd external && bsdtar xzf superlu_4.3.tar.gz && bash build_superlu_msys.sh)
# quad precision getrf
(cd external/getrf && bash setup_msys.sh && cd build && make -j2)
bash scripts/setup_msys.sh
(cd msys_x86_64_release && make -j2)
(cd dist && bash package_msys.sh ${1})