You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incremental rebuilds fail with undefined references in linktest.c #705
Something in the makefiles can probably be adjusted to fix this, but I'm not sure where. Any ideas? We hit this in Julia source builds whenever we upgrade our version of OpenBLAS, it would be nice to avoid having to clean and rebuild from scratch since we're using DYNAMIC_ARCH and it takes a while to build.
1st run makes archive
-ar -ru ../../libopenblas_haswellp-r0.2.16.dev.a spotrf2.o ... ../INSTALL/slamch.o
-ranlib ../../libopenblas_haswellp-r0.2.16.dev.a
2nd run does not
+make[2]: Nothing to be done for `all'.
Does it help to delete one .o file to help make to build archive again?
Or maybe better to build each subfolder to a separate .a name then combine them at the end. If the subfolder sources have not changed, then that subfolder .a command thinks it doesn't need to rerun, but it does if it's appending to a single file. If the big .a depended on the subfolder .a files then it would hopefully rebuild properly if any of the sub .a files change, or stay in place if they don't.
Activity
brada4 commentedon Dec 1, 2015
1st run makes archive
-ar -ru ../../libopenblas_haswellp-r0.2.16.dev.a spotrf2.o ... ../INSTALL/slamch.o
-ranlib ../../libopenblas_haswellp-r0.2.16.dev.a
2nd run does not
+make[2]: Nothing to be done for `all'.
Does it help to delete one .o file to help make to build archive again?
tkelman commentedon Dec 1, 2015
Or maybe better to build each subfolder to a separate .a name then combine them at the end. If the subfolder sources have not changed, then that subfolder .a command thinks it doesn't need to rerun, but it does if it's appending to a single file. If the big .a depended on the subfolder .a files then it would hopefully rebuild properly if any of the sub .a files change, or stay in place if they don't.