Merge pull request #3191 from martin-frbg/issue3188
Delay creation of the (soft)link until after the library has been built
This commit is contained in:
commit
d511a7bb4f
2
Makefile
2
Makefile
|
@ -167,7 +167,6 @@ ifeq ($(NO_SHARED), 1)
|
||||||
$(error OpenBLAS: neither static nor shared are enabled.)
|
$(error OpenBLAS: neither static nor shared are enabled.)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
@-ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
|
|
||||||
@for d in $(SUBDIRS) ; \
|
@for d in $(SUBDIRS) ; \
|
||||||
do if test -d $$d; then \
|
do if test -d $$d; then \
|
||||||
$(MAKE) -C $$d $(@F) || exit 1 ; \
|
$(MAKE) -C $$d $(@F) || exit 1 ; \
|
||||||
|
@ -196,6 +195,7 @@ endif
|
||||||
ifdef USE_THREAD
|
ifdef USE_THREAD
|
||||||
@echo USE_THREAD=$(USE_THREAD) >> Makefile.conf_last
|
@echo USE_THREAD=$(USE_THREAD) >> Makefile.conf_last
|
||||||
endif
|
endif
|
||||||
|
@-ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
|
||||||
@touch lib.grd
|
@touch lib.grd
|
||||||
|
|
||||||
prof : prof_blas prof_lapack
|
prof : prof_blas prof_lapack
|
||||||
|
|
Loading…
Reference in New Issue