From 1f49f93cbc18cbaf0870ed92d057dececcdf3904 Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Mon, 4 Mar 2024 00:35:36 +0100 Subject: [PATCH] updated workflow --- .github/workflows/make.yml | 4 ++-- Makefile | 9 +-------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index 2847ea7..629fb0f 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -28,8 +28,8 @@ jobs: run: | git submodule init git submodule update - pwd - ls deps/petsc + cd deps/petsc && ./configure + cd deps/petsc && make make - name: Archive Artifact diff --git a/Makefile b/Makefile index 4e3c826..1995cc8 100644 --- a/Makefile +++ b/Makefile @@ -21,17 +21,10 @@ CUDAC_FLAGS := $(shell pkg-config --variable=cudaflags_extra $(PACKAGES)) CUDA_LIB := $(shell pkg-config --variable=cudalib $(PACKAGES)) CUDA_INCLUDE := $(shell pkg-config --variable=cudainclude $(PACKAGES)) -all: setup deps ./bin/main +all: setup ./bin/main setup: mkdir -p bin - mkdir -p deps - -deps: deps/petsc - -deps/%: - cd $@ && ./configure - cd $@ && make print: @echo ====== PETSc ======