Skip to content

Commit

Permalink
fix ci, use ifx instead of ifort
Browse files Browse the repository at this point in the history
  • Loading branch information
zoziha committed Aug 17, 2024
1 parent 1f3d979 commit 180f6c6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,19 @@ jobs:

- name: Add Intel repository
run: |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt-get update
- name: Install Intel oneAPI compiler
- name: Install Intel oneAPI compiler (ifx)
run: |
sudo apt-get install intel-oneapi-compiler-fortran
sudo apt-get install intel-oneapi-compiler-fortran-2024.1
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
export FC=ifx
echo FC=$FC>>$GITHUB_ENV
- name: Install meson
run: pip3 install meson ninja
Expand All @@ -42,3 +44,7 @@ jobs:
run: |
meson setup _build
meson test -C _build
- name: catch build fail
run: cat _build/meson-logs/meson-log.txt
if: ${{ failure() }}
3 changes: 0 additions & 3 deletions fpm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ auto-tests = true
auto-examples = true
[install]
library = false
[dev-dependencies]
test-drive.git = "https://github.com/fortran-lang/test-drive"
test-drive.tag = "v0.4.0"
2 changes: 1 addition & 1 deletion src/argparse-f.f90
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ subroutine argp_print_help(this)
end if

if (this%argument_size > 0) then
print '(/,A)', "Position rguments:"
print '(/,A)', "Position arguments:"
max_name_length = 0
do i = 1, this%argument_size
max_name_length = max(max_name_length, len_trim(this%arguments(i)%name))
Expand Down

0 comments on commit 180f6c6

Please sign in to comment.