Skip to content

Commit

Permalink
test [pypi]
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Aug 19, 2024
1 parent 6b6b386 commit fbc0b7f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ jobs:
CIBW_BUILD_VERBOSITY: 1
run: python -m cibuildwheel --output-dir wheelhouse

- name: Download and install gfortran-10.2
- name: Download and install gfortran
if: matrix.os == 'macos-12'
run: |
set -e # Exit immediately if a command exits with a non-zero status
echo "Downloading gfortran..."
curl -L -o gfortran-Intel-11.1-BigSur.dmg https://github.com/fxcoudert/gfortran-for-macOS/releases/download/11.1-bigsur-intel/gfortran-Intel-11.1-BigSur.dmg
curl -L -o gfortran-Intel-11.2-BigSur.dmg https://github.com/fxcoudert/gfortran-for-macOS/releases/download/11.2-bigsur-intel/gfortran-Intel-11.2-BigSur.dmg
echo "Mounting.."
hdiutil attach gfortran-Intel-11.1-BigSur.dmg
hdiutil attach gfortran-Intel-11.2-BigSur.dmg
echo "Installing gfortran..."
sudo installer -pkg /Volumes/gfortran-Intel-11.1-BigSur/gfortran.pkg -target /
sudo installer -pkg /Volumes/gfortran-Intel-11.2-BigSur/gfortran.pkg -target /
echo "Unmounting ..."
hdiutil detach /Volumes/gfortran-Intel-11.1-BigSur
hdiutil detach /Volumes/gfortran-Intel-11.2-BigSur
echo "Verifying gfortran installation..."
gfortran --version
Expand Down
2 changes: 1 addition & 1 deletion camb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
__author__ = "Antony Lewis"
__contact__ = "antony at cosmologist dot info"
__url__ = "https://camb.readthedocs.io"
__version__ = "1.5.7"
__version__ = "1.5.7.dev"

from . import baseconfig

Expand Down
2 changes: 1 addition & 1 deletion fortran/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ COMMON_FFLAGS = -MMD -cpp -ffree-line-length-none -fmax-errors=4 -fopenmp
FFLAGS = -O3 $(COMMON_FFLAGS)
DEBUGFLAGS = -g -fbacktrace -ffpe-trap=invalid,overflow,zero -fbounds-check $(COMMON_FFLAGS)
ifeq ($(shell uname -s),Darwin)
SFFLAGS = -dynamiclib #-fpic
SFFLAGS = -dynamiclib -static-libgfortran -static-libgcc # -fpic
else
SFFLAGS = -shared -fpic
endif
Expand Down
2 changes: 1 addition & 1 deletion fortran/config.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module config
use constants, only: const_twopi
implicit none

character(LEN=*), parameter :: version = '1.5.7'
character(LEN=*), parameter :: version = '1.5.7.dev'

integer :: FeedbackLevel = 0 !if >0 print out useful information about the model

Expand Down

0 comments on commit fbc0b7f

Please sign in to comment.