updated workflow

old-with-submodules
Antonio De Lucreziis 2 years ago
parent 3c67bc1ff6
commit 1f49f93cbc

@ -28,8 +28,8 @@ jobs:
run: | run: |
git submodule init git submodule init
git submodule update git submodule update
pwd cd deps/petsc && ./configure
ls deps/petsc cd deps/petsc && make
make make
- name: Archive Artifact - name: Archive Artifact

@ -21,17 +21,10 @@ CUDAC_FLAGS := $(shell pkg-config --variable=cudaflags_extra $(PACKAGES))
CUDA_LIB := $(shell pkg-config --variable=cudalib $(PACKAGES)) CUDA_LIB := $(shell pkg-config --variable=cudalib $(PACKAGES))
CUDA_INCLUDE := $(shell pkg-config --variable=cudainclude $(PACKAGES)) CUDA_INCLUDE := $(shell pkg-config --variable=cudainclude $(PACKAGES))
all: setup deps ./bin/main all: setup ./bin/main
setup: setup:
mkdir -p bin mkdir -p bin
mkdir -p deps
deps: deps/petsc
deps/%:
cd $@ && ./configure
cd $@ && make
print: print:
@echo ====== PETSc ====== @echo ====== PETSc ======

Loading…
Cancel
Save