From 04e04fc8ef595811a8829030d3b15e3e10e4c135 Mon Sep 17 00:00:00 2001 From: Tanmay Khedekar Date: Mon, 29 Apr 2024 20:29:38 +0530 Subject: [PATCH 1/3] chore: add NumPower to workflow pipeline. --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56afda43d..322aac439 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,16 @@ jobs: extensions: svm, mbstring, gd, fileinfo, swoole ini-values: memory_limit=-1 + - name: Install NumPower + run: | + git clone https://github.com/NumPower/numpower.git + cd numpower + phpize + ./configure + make + make install + echo "extension=ndarray.so" >> $(php -i | grep "Loaded Configuration File" | sed -e "s|.*=>\s*||") + - name: Validate composer.json run: composer validate From 9fb2e88ceef778b61c2537a9c42ec3fee9ee9434 Mon Sep 17 00:00:00 2001 From: Tanmay Khedekar Date: Mon, 29 Apr 2024 20:50:31 +0530 Subject: [PATCH 2/3] chore: install openbla. --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 322aac439..d644b366d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,13 @@ jobs: extensions: svm, mbstring, gd, fileinfo, swoole ini-values: memory_limit=-1 + - name: Install OpenBLA + run: | + git clone https://github.com/OpenMathLib/OpenBLAS.git + cd OpenBLAS + make + make install + - name: Install NumPower run: | git clone https://github.com/NumPower/numpower.git From 008f835106d8eb8ae15e44f93e6916b26f9084ac Mon Sep 17 00:00:00 2001 From: Tanmay Khedekar Date: Wed, 22 May 2024 18:28:24 +0530 Subject: [PATCH 3/3] chore: install openblas from apt repo. --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d644b366d..01304f1a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,12 +23,10 @@ jobs: extensions: svm, mbstring, gd, fileinfo, swoole ini-values: memory_limit=-1 - - name: Install OpenBLA + - name: Install OpenBLAS run: | - git clone https://github.com/OpenMathLib/OpenBLAS.git - cd OpenBLAS - make - make install + apt-get update -q + apt-get install -qy libopenblas-dev - name: Install NumPower run: |