mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-10-09 09:33:14 +02:00
Broken link
Version:1.2.17 Version:1.2.18
This commit is contained in:
parent
1a32c9d811
commit
8479ee0e38
@ -1 +1 @@
|
||||
/home/scemama/irpf90/src/irpf90.exe
|
||||
../src/irpf90.exe
|
@ -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
|
||||
|
@ -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 ;\
|
||||
|
11
src/Makefile
11
src/Makefile
@ -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:
|
||||
|
@ -1 +1 @@
|
||||
version = "1.2.14"
|
||||
version = "1.2.18"
|
||||
|
Loading…
Reference in New Issue
Block a user