File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434
3535LAPACK_NOOPT := $(filter-out -O0 -O1 -O2 -O3 -Ofast,$(LAPACK_FFLAGS ) )
3636
37- SUBDIRS_ALL = $(SUBDIRS ) test ctest utest exports benchmark ../laswp ../bench cpp_thread_test
37+ SUBDIRS_ALL = $(SUBDIRS ) test ctest utest test_install exports benchmark ../laswp ../bench cpp_thread_test
3838
39- .PHONY : all libs netlib $(RELA ) test ctest shared install
39+ .PHONY : all libs netlib $(RELA ) test ctest test_install shared install
4040.NOTPARALLEL : all libs $(RELA ) prof lapack-test install blas-test
4141
4242all :: libs netlib $(RELA ) tests shared
@@ -155,6 +155,11 @@ endif
155155endif
156156endif
157157
158+ test_install :
159+ mkdir -p install
160+ PREFIX=install $(MAKE ) install
161+ $(MAKE ) -C test_install all
162+
158163libs :
159164ifeq ($(CORE ) , UNKNOWN)
160165 $(error OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.)
@@ -399,4 +404,5 @@ endif
399404 @$(MAKE) -C relapack clean
400405 @rm -f *.grd Makefile.conf_last config_last.h
401406 @(cd $(NETLIB_LAPACK_DIR)/TESTING && rm -f x* *.out testing_results.txt)
407+ @rm -rf install
402408 @echo Done.
Original file line number Diff line number Diff line change 1+ #
2+ # tests of installed headers and libs
3+ #
4+
5+ INSTALLDIR = ../install
6+
7+ .PHONY : all
8+ all : test_sched_include
9+
10+ test_sched_include : test_sched_include.c
11+ $(CC ) -c -I$(INSTALLDIR ) /include $<
12+
13+ .PHONY : clean
14+ clean :
15+ rm -f * .o
Original file line number Diff line number Diff line change 1+ // tests that inclusion of openblas_config.h works with musl
2+
3+ #include <openblas_config.h>
4+
5+ cpu_set_t * cpu_set = NULL ;
You can’t perform that action at this time.
0 commit comments