Skip to content

Commit

Permalink
Try installing fypp in another way
Browse files Browse the repository at this point in the history
  • Loading branch information
minhqdao committed Aug 1, 2024
1 parent b435ce0 commit 198af63
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ jobs:
ninja
mingw-w64-x86_64-minizip-ng
- name: Install fypp
- name: Install fypp (MSYS)
if: contains(matrix.msystem, 'MSYS')
run: pacman -S --noconfirm python-pip && pip install fypp

- name: Install fypp (MinGW)
if: contains(matrix.msystem, 'MINGW')
run: pip install fypp

- run: >-
Expand Down
4 changes: 1 addition & 3 deletions src/stdlib_array.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ module stdlib_array
!> Helper class to allocate t_array as an abstract type.
type, public :: t_array_wrapper
class(t_array), allocatable :: array

contains

#:for k1, t1 in KINDS_TYPES
#:for rank in RANKS
generic :: allocate_array => allocate_array_${t1[0]}$${k1}$_${rank}$
Expand All @@ -45,7 +43,7 @@ contains
#:for k1, t1 in KINDS_TYPES
#:for rank in RANKS
!> Allocate an instance of the array within the wrapper.
subroutine allocate_array_${t1[0]}$${k1}$_${rank}$(wrapper, array, stat, msg)
subroutine allocate_array_${t1[0]}$${k1}$_${rank}$ (wrapper, array, stat, msg)
class(t_array_wrapper), intent(out) :: wrapper
${t1}$, intent(in) :: array${ranksuffix(rank)}$
integer, intent(out) :: stat
Expand Down

0 comments on commit 198af63

Please sign in to comment.