mirror of
https://gitlab.com/scemama/EZFIO.git
synced 2024-11-19 04:22:25 +01:00
Fixed for MacOS
This commit is contained in:
parent
400dd83599
commit
f7a141dca6
@ -4,6 +4,6 @@ IRPF90 ?= irpf90
|
|||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
FC ?= gfortran -g -ffree-line-length-none -fPIC # -fopenmp
|
FC ?= gfortran -g -ffree-line-length-none -fPIC # -fopenmp
|
||||||
FCFLAGS ?= -fPIC
|
FCFLAGS ?= -fPIC
|
||||||
AR ?= ar
|
AR ?= ar crs
|
||||||
RANLIB ?= ranlib
|
RANLIB ?= ranlib
|
||||||
PYTHON ?= python3
|
PYTHON ?= python3
|
||||||
|
@ -50,13 +50,12 @@ IRPF90_temp/system_f.o: system_f.f90
|
|||||||
|
|
||||||
../lib/libezfio.a: IRPF90_temp/irpf90.a
|
../lib/libezfio.a: IRPF90_temp/irpf90.a
|
||||||
rm -f ../lib/libezfio.a
|
rm -f ../lib/libezfio.a
|
||||||
$(AR) cru ../lib/libezfio.a IRPF90_temp/system_f.o IRPF90_temp/system.o $(OBJ1)
|
$(AR) ../lib/libezfio.a IRPF90_temp/system_f.o IRPF90_temp/system.o $(OBJ1)
|
||||||
$(RANLIB) ../lib/libezfio.a
|
$(RANLIB) ../lib/libezfio.a
|
||||||
|
|
||||||
../lib/libezfio_irp.a: ../lib/libezfio.a
|
../lib/libezfio_irp.a: ../lib/libezfio.a
|
||||||
rm -f ../lib/libezfio_irp.a
|
rm -f ../lib/libezfio_irp.a
|
||||||
cp ../lib/libezfio.a ../lib/libezfio_irp.a
|
$(AR) ../lib/libezfio_irp.a IRPF90_temp/system_f.o IRPF90_temp/system.o $(filter-out IRPF90_temp/irp_stack.irp.o, $(OBJ1) )
|
||||||
$(AR) dv ../lib/libezfio_irp.a irp_stack.irp.o
|
|
||||||
$(RANLIB) ../lib/libezfio_irp.a
|
$(RANLIB) ../lib/libezfio_irp.a
|
||||||
|
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ def run():
|
|||||||
|
|
||||||
for group in groups.keys():
|
for group in groups.keys():
|
||||||
for var,type,dims,command in groups[group]:
|
for var,type,dims,command in groups[group]:
|
||||||
if command is not "":
|
if command != "":
|
||||||
continue
|
continue
|
||||||
dims_py = str(dims)
|
dims_py = str(dims)
|
||||||
for g in groups.keys():
|
for g in groups.keys():
|
||||||
|
Loading…
Reference in New Issue
Block a user