Broken link

Version:1.2.17

Version:1.2.18
This commit is contained in:
Anthony Scemama 2012-07-31 14:24:52 +02:00
parent 1a32c9d811
commit 8479ee0e38
5 changed files with 14 additions and 12 deletions

View File

@ -1 +1 @@
/home/scemama/irpf90/src/irpf90.exe
../src/irpf90.exe

View File

@ -1,10 +1,10 @@
program irp_example1
! integer :: x(W)
! BEGIN_SHELL [ /bin/bash ]
! echo print *, \'Compiled by `whoami` on `date`\'
! echo print *, \'$FC $FCFLAGS\'
! echo print *, \'$IRPF90\'
! END_SHELL
BEGIN_SHELL [ /bin/bash ]
echo print *, \'Compiled by `whoami` on `date`\'
echo print *, \'$FC $FCFLAGS\'
echo print *, \'$IRPF90\'
END_SHELL
print *, 't = ', t
print *, 'v=', v

View File

@ -1,5 +1,6 @@
include version
default:
set -x
rm *.rpm *.tar.gz *.exe.gz 2> /dev/null ;\
VERSION=$(VERSION) epm -f portable -a noarch -m noarch irpf90 irpf90.list ;\
cd noarch ;\

View File

@ -1,12 +1,10 @@
PYTHON=python
PYVERSION=$(shell $(PYTHON) -c "import sys; print(sys.version[:3])")
HAS_CYTHON=$(shell which cython &> /dev/null && echo 1 || echo 0)
ifeq ($(HAS_CYTHON),0)
ifneq ($(HAS_CYTHON),0)
irpf90.exe:
cp -f irpf90_python.exe irpf90.exe
else
../bin/irpf90: irpf90.exe
rm ../bin/irpf90 ; cd ../bin ; ln -s ../src/irpf90.exe irpf90
irpf90.exe: irpf90.so
gcc build/*/irpf90.o -L/usr/lib64 -lpython$(PYVERSION) -o irpf90.exe
@ -17,6 +15,9 @@ irpf90.so : $(wildcard *.py) irpf90.c
irpf90.c: irpf90.py
cython --embed irpf90.py
else
../bin/irpf90: irpf90_python.exe
rm ../bin/irpf90 ; cd ../bin ; ln -s ../src/irpf90_python.exe irpf90
endif
clean:

View File

@ -1 +1 @@
version = "1.2.14"
version = "1.2.18"