Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/julia/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ cmake -DCMAKE_INSTALL_PREFIX=${prefix} \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=${BUILD_SHARED} \
-DZLIB_USE_STATIC_LIBS=${BUILD_STATIC} \
-DFAST_BUILD=ON ..
-DHIPO=ON \
-DBLAS_ROOT="${prefix}" \

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linux is ignoring my suggestion and picking up the host blas instead of the target:

Image

-DMETIS_ROOT=${prefix} \
..

if [[ "${target}" == *-linux-* ]]; then
make -j ${nproc}
Expand All @@ -60,6 +63,8 @@ platforms = expand_cxxstring_abis(platforms)
dependencies = [
Dependency("CompilerSupportLibraries_jll"),
Dependency("Zlib_jll"),
Dependency("METIS_jll"),
Dependency("OpenBLAS32_jll"),
HostBuildDependency(PackageSpec(; name="CMake_jll")),
]

Expand Down
116 changes: 30 additions & 86 deletions .github/workflows/hipo-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Checkout GKlib
uses: actions/checkout@v4
with:
repository: KarypisLab/GKlib
ref: master
path: GKlib

- name: Checkout METIS
uses: actions/checkout@v4
with:
repository: KarypisLab/METIS
ref: master
repository: galabovaa/METIS
ref: 510-w
path: METIS

- name: Create installs dir
Expand All @@ -33,21 +26,15 @@ jobs:
mkdir installs
ls

- name: Install GKLIB
run: |
cd GKlib
make config prefix=${{runner.workspace}}/installs
make
make install

- name: Install METIS
run: |
cd METIS
make config prefix=${{runner.workspace}}/installs
make
make install
pwd
cmake -S. -B build -DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib -DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/installs
cmake --build build --parallel --config Release
cmake --install build

- name: Check METIS and GKlib
- name: Check METIS
working-directory: ${{runner.workspace}}
run: |
cd installs
Expand All @@ -61,8 +48,7 @@ jobs:
working-directory: ${{runner.workspace}}/build
run: |
cmake $GITHUB_WORKSPACE -DHIPO=ON \
-DMETIS_ROOT=${{runner.workspace}}/installs \
-DGKLIB_ROOT=${{runner.workspace}}/installs
-DMETIS_ROOT=${{runner.workspace}}/installs

- name: Build
working-directory: ${{runner.workspace}}/build
Expand All @@ -88,18 +74,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Checkout GKlib
uses: actions/checkout@v4
with:
repository: KarypisLab/GKlib
ref: master
path: GKlib

- name: Checkout METIS
uses: actions/checkout@v4
with:
repository: KarypisLab/METIS
ref: master
repository: galabovaa/METIS
ref: 510-w
path: METIS

- name: Create installs dir
Expand All @@ -108,21 +87,15 @@ jobs:
mkdir installs
ls

- name: Install GKLIB
run: |
cd GKlib
make config prefix=${{runner.workspace}}/installs
make
make install

- name: Install METIS
run: |
cd METIS
make config prefix=${{runner.workspace}}/installs
make
make install
pwd
cmake -S. -B build -DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib -DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/installs
cmake --build build --parallel --config Debug
cmake --install build

- name: Check METIS and GKlib
- name: Check METIS
working-directory: ${{runner.workspace}}
run: |
cd installs
Expand All @@ -137,7 +110,6 @@ jobs:
run: |
cmake $GITHUB_WORKSPACE -DHIPO=ON \
-DMETIS_ROOT=${{runner.workspace}}/installs \
-DGKLIB_ROOT=${{runner.workspace}}/installs \
-DCMAKE_BUILD_TYPE=Debug

- name: Build
Expand All @@ -164,18 +136,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Checkout GKlib
uses: actions/checkout@v4
with:
repository: KarypisLab/GKlib
ref: master
path: GKlib

- name: Checkout METIS
uses: actions/checkout@v4
with:
repository: KarypisLab/METIS
ref: master
repository: galabovaa/METIS
ref: 510-w
path: METIS

- name: Create installs dir
Expand All @@ -184,21 +149,15 @@ jobs:
mkdir installs
ls

- name: Install GKLIB
run: |
cd GKlib
make config prefix=${{runner.workspace}}/installs
make
make install

- name: Install METIS
run: |
cd METIS
make config prefix=${{runner.workspace}}/installs
make
make install
pwd
cmake -S. -B build -DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib -DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/installs
cmake --build build --parallel --config Release
cmake --install build

- name: Check METIS and GKlib
- name: Check METIS
working-directory: ${{runner.workspace}}
run: |
cd installs
Expand All @@ -212,8 +171,7 @@ jobs:
working-directory: ${{runner.workspace}}/build
run: |
cmake $GITHUB_WORKSPACE -DHIPO=ON -DALL_TESTS=ON \
-DMETIS_ROOT=${{runner.workspace}}/installs \
-DGKLIB_ROOT=${{runner.workspace}}/installs
-DMETIS_ROOT=${{runner.workspace}}/installs

- name: Build
working-directory: ${{runner.workspace}}/build
Expand All @@ -239,18 +197,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Checkout GKlib
uses: actions/checkout@v4
with:
repository: KarypisLab/GKlib
ref: master
path: GKlib

- name: Checkout METIS
uses: actions/checkout@v4
with:
repository: KarypisLab/METIS
ref: master
repository: galabovaa/METIS
ref: 510-w
path: METIS

- name: Create installs dir
Expand All @@ -259,21 +210,15 @@ jobs:
mkdir installs
ls

- name: Install GKLIB
run: |
cd GKlib
make config prefix=${{runner.workspace}}/installs
make
make install

- name: Install METIS
run: |
cd METIS
make config prefix=${{runner.workspace}}/installs
make
make install
pwd
cmake -S. -B build -DGKLIB_PATH=${{ github.workspace }}/METIS/GKlib -DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/installs
cmake --build build --parallel --config Debug
cmake --install build

- name: Check METIS and GKlib
- name: Check METIS
working-directory: ${{runner.workspace}}
run: |
cd installs
Expand All @@ -288,7 +233,6 @@ jobs:
run: |
cmake $GITHUB_WORKSPACE -DHIPO=ON -DALL_TESTS=ON \
-DMETIS_ROOT=${{runner.workspace}}/installs \
-DGKLIB_ROOT=${{runner.workspace}}/installs \
-DCMAKE_BUILD_TYPE=Debug

- name: Build
Expand Down
Loading
Loading