Skip to content

Commit 4c26b31

Browse files
Merge pull request #24 from jchristopherson/v1.7.2
V1.7.2
2 parents 6080893 + 9da0d28 commit 4c26b31

File tree

959 files changed

+155883
-107532
lines changed

Some content is hidden

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

959 files changed

+155883
-107532
lines changed

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
toolchain: {compiler: intel, version: '2023.2'}
2525

2626
steps:
27-
- uses: awvwgk/setup-fortran@v1
27+
- uses: awvwgk/setup-fortran@v1.6.1
2828
id: setup-fortran
2929
with:
3030
compiler: ${{ matrix.toolchain.compiler }}
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/fstats' && ( startsWith( github.ref, 'refs/tags/' ) || github.ref == 'refs/heads/main' )
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: 64 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
os: [ubuntu-latest, macos-11]
12-
gcc_v: [10] # Version of GFortran we want to use.
11+
os: [ubuntu-latest]
12+
gcc_v: [12] # Version of GFortran we want to use.
1313
include:
1414
- os: ubuntu-latest
1515
os-arch: linux-x86_64
1616

17-
- os: macos-11
18-
os-arch: macos-x86_64
19-
2017
env:
2118
FC: gfortran
2219
GCC_V: ${{ matrix.gcc_v }}
@@ -25,26 +22,25 @@ jobs:
2522
- name: Checkout code
2623
uses: actions/checkout@v1
2724

28-
- name: Install GFortran macOS
29-
if: contains(matrix.os, 'macos')
30-
run: |
31-
ln -s /usr/local/bin/gfortran-${GCC_V} /usr/local/bin/gfortran
32-
which gfortran-${GCC_V}
33-
which gfortran
34-
3525
- name: Install GFortran Linux
3626
if: contains(matrix.os, 'ubuntu')
3727
run: |
3828
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${GCC_V} 100 \
3929
--slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \
4030
--slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V}
4131
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+
4238
- name: Install fpm
43-
uses: fortran-lang/setup-fpm@v3
39+
uses: fortran-lang/setup-fpm@v5
4440
with:
45-
fpm-version: 'v0.8.2'
41+
fpm-version: 'v0.10.1'
4642

47-
- name: Build FERROR
43+
- name: Build LINALG
4844
run: |
4945
gfortran --version
5046
fpm build
@@ -70,6 +66,8 @@ jobs:
7066
install: |
7167
mingw-w64-x86_64-gcc-fortran
7268
mingw-w64-x86_64-fpm
69+
mingw-w64-x86_64-openblas
70+
mingw-w64-x86_64-lapack
7371
7472
- name: fpm build
7573
run: |
@@ -81,47 +79,54 @@ jobs:
8179
run: |
8280
fpm test
8381
84-
intel-build:
85-
runs-on: ubuntu-latest
86-
strategy:
87-
fail-fast: false
88-
89-
env:
90-
FPM_FC: ifort
91-
FC: ifort
92-
93-
steps:
94-
- name: Checkout code
95-
uses: actions/checkout@v3
96-
97-
- name: Add Intel repository (Linux)
98-
run: |
99-
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
100-
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
101-
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
102-
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
103-
sudo apt-get update
104-
105-
- name: Install Intel oneAPI compiler (Linux)
106-
run: |
107-
sudo apt-get install intel-oneapi-compiler-fortran
108-
109-
- name: Setup Intel oneAPI environment
110-
run: |
111-
source /opt/intel/oneapi/setvars.sh
112-
printenv >> $GITHUB_ENV
113-
114-
- name: Install fpm
115-
uses: fortran-lang/setup-fpm@v3
116-
with:
117-
fpm-version: 'v0.8.2'
118-
119-
- name: fpm build
120-
run: |
121-
ifort --version
122-
fpm --version
123-
fpm build --profile debug --flag "-warn nointerfaces"
124-
125-
- name: fpm test
126-
run: |
127-
fpm test --profile debug --flag "-warn nointerfaces"
82+
# intel-build:
83+
# runs-on: ubuntu-latest
84+
# strategy:
85+
# fail-fast: false
86+
87+
# env:
88+
# FPM_FC: ifx
89+
# FC: ifx
90+
91+
# steps:
92+
# - name: Checkout code
93+
# uses: actions/checkout@v3
94+
95+
# - name: Add Intel repository (Linux)
96+
# run: |
97+
# wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
98+
# sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
99+
# rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
100+
# echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
101+
# sudo apt-get update
102+
103+
# - name: Install Intel oneAPI compiler (Linux)
104+
# run: |
105+
# sudo apt-get install intel-oneapi-compiler-fortran
106+
107+
# - name: Setup Intel oneAPI environment
108+
# run: |
109+
# source /opt/intel/oneapi/setvars.sh
110+
# printenv >> $GITHUB_ENV
111+
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+
119+
# - name: Install fpm
120+
# uses: fortran-lang/setup-fpm@v3
121+
# with:
122+
# fpm-version: 'v0.8.2'
123+
124+
# - name: fpm build
125+
# run: |
126+
# ifx --version
127+
# fpm --version
128+
# fpm build --profile debug --flag "-warn nointerfaces"
129+
130+
# - name: fpm test
131+
# run: |
132+
# fpm test --profile debug --flag "-warn nointerfaces"

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.24)
33
project(
44
fplot
55
LANGUAGES Fortran
6-
VERSION 1.7.1
6+
VERSION 1.7.2
77
)
88

99
# Get helper macros and functions

0 commit comments

Comments
 (0)