Lines Matching refs:o
51 TESTFLAGS += -o err_only
74 TESTFLAGS += -o 'err_only' # Show only the errors on stdout
155 PETSC_COMPILE.raja.cxx = ${CXX} -o $*.o -c ${CXX_FLAGS} ${CXXFLAGS} ${CXXCPPFLAGS}
161 concattestlang = $(foreach lang, $(2), $(testsrcs-$(1).$(lang):%.$(lang)=$(TESTDIR)/%.o))
162 testsrcs.o := $(foreach pkg, $(pkgs), $(call concattestlang,$(pkg),$(testlangs)))
176 $(TESTDIR)/%.o : $(EXAMPLESDIR)/%.c | $$(@D)/.DIR
177 $(PETSC_COMPILE.c) $(abspath $<) -o $@
179 $(TESTDIR)/%.o : $(EXAMPLESDIR)/%.kokkos.cxx | $$(@D)/.DIR
180 $(PETSC_COMPILE.kokkos.cxx) $(abspath $<) -o $@
182 $(TESTDIR)/%.o : $(EXAMPLESDIR)/%.sycl.cxx | $$(@D)/.DIR
183 $(PETSC_COMPILE.sycl.cxx) $(abspath $<) -o $@
185 $(TESTDIR)/%.o : $(EXAMPLESDIR)/%.raja.cxx | $$(@D)/.DIR
186 $(PETSC_COMPILE.raja.cxx) $(abspath $<) -o $@
188 $(TESTDIR)/%.o : $(EXAMPLESDIR)/%.cxx | $$(@D)/.DIR
189 $(PETSC_COMPILE.cxx) $(abspath $<) -o $@
191 $(TESTDIR)/%.o : $(EXAMPLESDIR)/%.cu | $$(@D)/.DIR
192 …$(PETSC_COMPILE.cu) $(abspath $<) -o $@ # Compile first so that if there is an error, it comes fro…
193 @$(PETSC_GENDEPS.cu) $(abspath $<) -o $(@:%.o=%.d) # Generate the dependencies for later
195 $(TESTDIR)/%.o : $(EXAMPLESDIR)/%.hip.cxx | $$(@D)/.DIR
196 $(PETSC_COMPILE.hip.cxx) $(abspath $<) -o $@
198 # Test modules go in the same directory as the target *.o
201 $(TESTDIR)/%.o : $(EXAMPLESDIR)/%.F | $$(@D)/.DIR
203 …FC) -c $(FC_FLAGS) $(FFLAGS) $(FCPPFLAGS) $(FC_DEPFLAGS) -I$(dir $<) $(abspath $<) -o $(abspath $@)
205 …$(PETSC_COMPILE.F) -I$(dir $<) $(abspath $<) -o $@ $(FC_MODULE_OUTPUT_FLAG)$(TESTMODDIR) $(FC_MODU…
209 $(TESTDIR)/%.o : $(EXAMPLESDIR)/%.F90 | $$(@D)/.DIR
211 …FC) -c $(FC_FLAGS) $(FFLAGS) $(FCPPFLAGS) $(FC_DEPFLAGS) -I$(dir $<) $(abspath $<) -o $(abspath $@)
213 …$(PETSC_COMPILE.F) -I$(dir $<) $(abspath $<) -o $@ $(FC_MODULE_OUTPUT_FLAG)$(TESTMODDIR) $(FC_MODU…
219 if test -e "$(@:%.o=%.d)" && head -1 "$(@:%.o=%.d)" | grep -F -q -v : ; then\
220 echo "$(@): \\" > $(@:%.o=%.dtemp) ;\
221 tr '\n' '@' < $(@:%.o=%.d) | cut -d: -f2- | tr '@' '\n' >> $(@:%.o=%.dtemp) ;\
222 mv $(@:%.o=%.dtemp) $(@:%.o=%.d);\
265 $(testexe.F) $(testexe.F90) : $(TESTDIR)/% : $(TESTDIR)/%.o $$^ $(libpetscall)
266 $(call quiet,FLINKER) -o $@ $^ $(PETSC_TEST_LIB)
270 $(testexe.c) : $(TESTDIR)/% : $(TESTDIR)/%.o $$^ $(libpetscall)
271 …SAFE_HEAP=1 -s STACK_OVERFLOW_CHECK=1 -s ALLOW_MEMORY_GROWTH $(EXEFLAGS) -o $@.js $@.o $(PETSC_LIB)
275 $(testexe.c) $(testexe.cu) : $(TESTDIR)/% : $(TESTDIR)/%.o $$^ $(libpetscall)
276 $(call quiet,CLINKER) $(EXEFLAGS) -o $@ $^ $(PETSC_TEST_LIB)
281 $(testexe.hip.cxx) : $(TESTDIR)/% : $(TESTDIR)/%.o $$^ $(libpetscall)
282 $(call quiet,CLINKER) -o $@ $^ $(PETSC_TEST_LIB)
285 $(testexe.kokkos.cxx) : $(TESTDIR)/% : $(TESTDIR)/%.o $$^ $(libpetscall)
286 $(call quiet,KOKKOS_LINKER) $(EXEFLAGS) -o $@ $^ $(PETSC_TEST_LIB)
289 $(testexe.raja.cxx) : $(TESTDIR)/% : $(TESTDIR)/%.o $$^ $(libpetscall)
290 $(call quiet,CLINKER) -o $@ $^ $(PETSC_TEST_LIB)
293 $(testexe.cxx) : $(TESTDIR)/% : $(TESTDIR)/%.o $$^ $(libpetscall)
294 $(call quiet,CXXLINKER) -o $@ $^ $(PETSC_TEST_LIB)
343 # Remove intermediate .o files
345 #.INTERMEDIATE: $(testsrcs.o:%.o=%)
348 $(testsrcs.o) : $(petscvariables)
366 alltest.d := $(testsrcs.o:%.o=%.d)
474 …-@echo " delete compiled examples, .o and related files (used in tutorials or test direc…