File: label_tests.patch

package info (click to toggle)
petsc 3.24.1%2Bdfsg1-1exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 524,004 kB
  • sloc: ansic: 762,842; cpp: 52,564; python: 39,546; f90: 17,688; javascript: 3,493; makefile: 3,206; sh: 1,508; xml: 619; objc: 445; java: 13; csh: 1
file content (24 lines) | stat: -rw-r--r-- 1,469 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: petsc/makefile
===================================================================
--- petsc.orig/makefile	2025-11-05 12:08:25.402645375 +0100
+++ petsc/makefile	2025-11-05 12:08:25.396105508 +0100
@@ -141,8 +141,8 @@
         fi;
 
 check_build:
-	+@cd src/snes/tutorials >/dev/null; ${RUN_TEST} clean-legacy
-	+@cd src/snes/tutorials >/dev/null; ${RUN_TEST} testex19
+	+cd src/snes/tutorials >/dev/null; ${RUN_TEST} clean-legacy
+	+cd src/snes/tutorials >/dev/null; ${RUN_TEST} testex19
 	+@if [ ! "${MPI_IS_MPIUNI}" ]; then cd src/snes/tutorials >/dev/null; ${RUN_TEST} testex19_mpi; fi
 	+@if [ "`grep -E '^#define PETSC_HAVE_HYPRE 1' ${PETSCCONF_H}`" = "#define PETSC_HAVE_HYPRE 1" ] && [ "${PETSC_SCALAR}" = "real" ]; then \
           if [ "`grep -E '^#define PETSC_HAVE_CUDA 1' ${PETSCCONF_H}`" = "#define PETSC_HAVE_CUDA 1" ]; then HYPRE_TEST=runex19_hypre_cuda; \
@@ -156,7 +156,7 @@
 	+@if [ "`grep -E '^#define PETSC_HAVE_HIP 1' ${PETSCCONF_H}`" = "#define PETSC_HAVE_HIP 1" ]; then \
           cd src/snes/tutorials >/dev/null; ${RUN_TEST} runex19_hip; \
         fi;
-	+@if [ "${MPI_IS_MPIUNI}" = "" ]; then \
+	+if [ "${MPI_IS_MPIUNI}" = "" ]; then \
           cd src/snes/tutorials >/dev/null; \
           if [ "`grep -E '^#define PETSC_HAVE_KOKKOS_KERNELS 1' ${PETSCCONF_H}`" = "#define PETSC_HAVE_KOKKOS_KERNELS 1" ] && [ "${PETSC_SCALAR}" = "real" ] && [ "${PETSC_PRECISION}" = "double" ]; then \
             ${RUN_TEST} runex3k_kokkos; \