Skip to content

Commit

Permalink
fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn committed Nov 28, 2022
1 parent a4947fa commit eec97da
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

steps:
- run: yum install -y zip python3-pip python3-devel
- run: git clone https://github.com/AWehrhahn/SMElib .
- run: git clone --depth=100 https://github.com/AWehrhahn/SMElib .
- name: Install F2C & Compile libf2c.a
if: matrix.compiler == 'f2c'
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,4 @@ origin/
**/.deps/
cython/smelib.egg-info/
cython/smelib.cpp
.version
14 changes: 12 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ dist_pkgdata_DATA = src/data/bpo_self.grid.INTEL \
src/data/stehle_long.dat.INTEL \
src/data/vcsbalmer.dat

BUILT_SOURCES = src/sme/platform.h old_link
BUILT_SOURCES = src/sme/platform.h old_link $(top_srcdir)/.version

CLEANFILES = src/sme/platform.h

EXTRA_DIST = $(top_srcdir)/.version



PLATFORM = @TARGET@
MACHINE = @TARGET_CPU@
BITS = 64
Expand All @@ -51,4 +55,10 @@ flib_source:
$(F77) --print-file-name=libgfortran@EXTENSION@

flib_target:
echo $(@OUTPUT_DIR@)/libgfortran@EXTENSION@
echo $(@OUTPUT_DIR@)/libgfortran@EXTENSION@

$(top_srcdir)/.version:
echo '$(VERSION)' > $@-t
mv $@-t $@
dist-hook:
echo '$(VERSION)' > $(distdir)/.tarball-version

0 comments on commit eec97da

Please sign in to comment.