Skip to content

Commit 247b11a

Browse files
Merge pull request #23 from jchristopherson/v1.8.3
V1.8.3
2 parents ce3dab6 + 4843968 commit 247b11a

File tree

891 files changed

+108602
-141986
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

891 files changed

+108602
-141986
lines changed

.github/workflows/doc-deployment.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: doc-deployment
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build-and-deploy:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions/setup-python@v1
11+
with:
12+
python-version: '3.x'
13+
14+
- name: Install dependencies
15+
run: pip install -v ford==6.1.17
16+
17+
- name: Build Documentation
18+
run: ford docs.md
19+
20+
- uses: JamesIves/[email protected]
21+
if: github.event_name == 'push' && github.repository == 'jchristopherson/linalg' && ( startsWith( github.ref, 'refs/tags/' ) || github.ref == 'refs/heads/master' )
22+
with:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
BRANCH: gh-pages
25+
FOLDER: doc
26+
CLEAN: true

.github/workflows/doxygen-gh-pages.yml

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

.github/workflows/fpm.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ubuntu-latest]
12-
gcc_v: [10] # Version of GFortran we want to use.
12+
gcc_v: [12] # Version of GFortran we want to use.
1313
include:
1414
- os: ubuntu-latest
1515
os-arch: linux-x86_64
@@ -29,6 +29,12 @@ jobs:
2929
--slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \
3030
--slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V}
3131
32+
- name: Install BLAS & LAPACK
33+
if: contains(matrix.os, 'ubuntu')
34+
run: |
35+
sudo apt-get update
36+
sudo apt-get install libopenblas-dev liblapack-dev
37+
3238
- name: Install fpm
3339
uses: fortran-lang/setup-fpm@v5
3440
with:
@@ -79,8 +85,8 @@ jobs:
7985
fail-fast: false
8086

8187
env:
82-
FPM_FC: ifort
83-
FC: ifort
88+
FPM_FC: ifx
89+
FC: ifx
8490

8591
steps:
8692
- name: Checkout code
@@ -103,14 +109,21 @@ jobs:
103109
source /opt/intel/oneapi/setvars.sh
104110
printenv >> $GITHUB_ENV
105111
112+
- name: Install MKL
113+
run: |
114+
sudo apt-get update
115+
sudo apt-get -y install intel-mkl
116+
sudo apt update
117+
sudo apt -y install intel-mkl
118+
106119
- name: Install fpm
107120
uses: fortran-lang/setup-fpm@v3
108121
with:
109122
fpm-version: 'v0.8.2'
110123

111124
- name: fpm build
112125
run: |
113-
ifort --version
126+
ifx --version
114127
fpm --version
115128
fpm build --profile debug --flag "-warn nointerfaces"
116129

CMakeLists.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.24)
33
project(
44
linalg
55
LANGUAGES Fortran C
6-
VERSION 1.8.2
6+
VERSION 1.8.3
77
)
88

99
# Get helper macros and functions
@@ -20,6 +20,18 @@ find_package(BLAS)
2020
find_package(LAPACK)
2121
add_subdirectory(dependencies)
2222

23+
if (NOT BLAS_FOUND OR NOT LAPACK_FOUND)
24+
message(STATUS "BLAS/LAPACK could not be found. A reference version will be employed.")
25+
include(FetchContent)
26+
FetchContent_Declare(
27+
lapack
28+
GIT_REPOSITORY "https://github.com/Reference-LAPACK/lapack"
29+
)
30+
FetchContent_MakeAvailable(lapack)
31+
set(BLAS_LIBRARIES blas)
32+
set(LAPACK_LIBRARIES lapack)
33+
endif()
34+
2335
# Source
2436
add_subdirectory(src)
2537
add_fortran_library(

dependencies/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Get the macros and functions we'll need
2-
include("${PROJECT_SOURCE_DIR}/cmake/helper.cmake")
3-
include(FetchContent)
4-
51
# Get FERROR
62
add_subdirectory(ferror)
73
set(ferror_LIBRARY ${ferror_LIBRARY} PARENT_SCOPE)

0 commit comments

Comments
 (0)