Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8cb36cd

Browse files
committed
Update SDPA and MUMPS
1 parenta0ed160 commit8cb36cd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

‎.github/workflows/build-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ jobs:
127127
-name:Checkout SDPA Python
128128
uses:actions/checkout@v4
129129
with:
130-
repository:usamamuneeb/sdpa-python
131130
path:sdpa-python
132131

133132
-name:Install Requirements (Windows)
@@ -141,6 +140,7 @@ jobs:
141140
make
142141
pacboy:>-
143142
toolchain:p
143+
gcc-fortran:p
144144
lapack:p
145145
openblas:p
146146
spooles:p

‎continuous_integration/build_libsdpa.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ elif [[ "$RUNNER_OS" == "manylinux" ]]; then
1313
fi
1414

1515
# Download and patch libsdpa
16-
curl -L -O https://downloads.sourceforge.net/project/sdpa/sdpa/sdpa_7.3.17.tar.gz
17-
tar -zxf sdpa_7.3.17.tar.gz
18-
cd sdpa-7.3.17
16+
curl -L -O https://downloads.sourceforge.net/project/sdpa/sdpa/sdpa_7.3.18.tar.gz
17+
tar -zxf sdpa_7.3.18.tar.gz
18+
cd sdpa-7.3.18
1919
# At every release of sdpa-python, we should attempt to link against latest
2020
# MUMPS package (even if there is no new `sdpa` release at sdpa.sourceforge.net)
2121
# Please check the bottom of this webpage for latest MUMPS available:
2222
# http://ftp.de.debian.org/debian/pool/main/m/mumps/
23-
sed -i.bak's/MUMPS_VER =.*/MUMPS_VER = 5.6.2/' mumps/Makefile
23+
sed -i.bak's/MUMPS_VER =.*/MUMPS_VER = 5.7.1/' mumps/Makefile
2424
# `wget` may not be available but `curl` almost always is
2525
sed -i.bak's/wget/curl -L -O/' mumps/Makefile
2626

@@ -57,21 +57,21 @@ fi
5757
if [["$RUNNER_OS"=="Windows" ]];then
5858
original_value="${GITHUB_WORKSPACE}"
5959
new_value="${original_value//\\//}"# replace \ with /
60-
sed -i.bak's@SDPA_DIR =.*@SDPA_DIR="'$new_value'\/sdpa-7.3.17"@g' sdpa-python/setupcfg.py
60+
sed -i.bak's@SDPA_DIR =.*@SDPA_DIR="'$new_value'\/sdpa-7.3.18"@g' sdpa-python/setupcfg.py
6161
sed -i.bak"s/MINGW_LIBS =.*/MINGW_LIBS=os.path.join('D:\/','msys64','mingw64','lib')/g" sdpa-python/setupcfg.py
6262
sed -i.bak"s/SPOOLES_INCLUDE =.*/SPOOLES_INCLUDE=os.path.join('D:\/','msys64','mingw64','include','spooles')/g" sdpa-python/setupcfg.py
6363
sed -i.bak"s/SPOOLES_DIR =.*/SPOOLES_DIR=os.path.join('D:\/','msys64','mingw64','lib')/g" sdpa-python/setupcfg.py
6464
sed -i.bak"s/BLAS_LAPACK_LIBS =.*/BLAS_LAPACK_LIBS = ['openblas', 'gomp']/g" sdpa-python/setupcfg.py
6565
echo"[build]"> sdpa-python/setup.cfg
6666
echo"compiler=mingw32">> sdpa-python/setup.cfg
6767
elif [["$RUNNER_OS"=="macOS" ]];then
68-
sed -i.bak's@SDPA_DIR =.*@SDPA_DIR="'"$GITHUB_WORKSPACE"'/sdpa-7.3.17"@g' sdpa-python/setupcfg.py
68+
sed -i.bak's@SDPA_DIR =.*@SDPA_DIR="'"$GITHUB_WORKSPACE"'/sdpa-7.3.18"@g' sdpa-python/setupcfg.py
6969
sed -i.bak's@SPOOLES_DIR =.*@SPOOLES_DIR="'"$GITHUB_WORKSPACE"'/spooles"@g' sdpa-python/setupcfg.py
7070
sed -i.bak's@SPOOLES_INCLUDE =.*@SPOOLES_INCLUDE="'"$GITHUB_WORKSPACE"'/spooles"@g' sdpa-python/setupcfg.py
7171
# check if /usr/local/opt/gcc/lib/gcc/13 is more generic
7272
sed -i.bak"s/GFORTRAN_LIBS =.*/GFORTRAN_LIBS='\/usr\/local\/Cellar\/gcc\/13.2.0\/lib\/gcc\/current'/g" sdpa-python/setupcfg.py
7373
else
74-
sed -i.bak's@SDPA_DIR =.*@SDPA_DIR="'"$GITHUB_WORKSPACE"'/sdpa-7.3.17"@g' sdpa-python/setupcfg.py
74+
sed -i.bak's@SDPA_DIR =.*@SDPA_DIR="'"$GITHUB_WORKSPACE"'/sdpa-7.3.18"@g' sdpa-python/setupcfg.py
7575
sed -i.bak's@SPOOLES_DIR =.*@SPOOLES_DIR="'"$GITHUB_WORKSPACE"'/spooles"@g' sdpa-python/setupcfg.py
7676
sed -i.bak's@SPOOLES_INCLUDE =.*@SPOOLES_INCLUDE="'"$GITHUB_WORKSPACE"'/spooles"@g' sdpa-python/setupcfg.py
7777
sed -i.bak"s/BLAS_LAPACK_LIBS =.*/BLAS_LAPACK_LIBS = ['openblas']/g" sdpa-python/setupcfg.py

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp