mirror of
https://github.com/facebookresearch/faiss.git
synced 2026-10-12 02:13:36 +00:00
* Refactors Makefiles and add configure script. * Give MKL higher priority in configure script. * Clean up Linux example makefile.inc. * Cleanup makefile.inc examples. * Fix python clean Makefile target. * Regen swig wrappers. * Remove useless CUDAFLAGS variable. * Fix python linking flags. * Separate compile and link phase in python makefile. * Add macro to look for swig. * Add CUDA check in configure script. * Cleanup make depend targets. * Cleanup CUDA flags. * Fix linking flags. * Fix python GPU linking. * Remove useless flags from python gpu module linking. * Add check for cuda libs. * Cleanup GPU targets. * Clean up test target. * Add cpu/gpu targets to python makefile. * Clean up tutorial Makefile. * Remove stale OS var from example makefiles. * Clean up cuda example flags.
17 lines
340 B
Plaintext
17 lines
340 B
Plaintext
dnl
|
|
dnl Check for an nm(1) utility.
|
|
dnl
|
|
AC_DEFUN([FA_PROG_NM],
|
|
[
|
|
case "${NM-unset}" in
|
|
unset) AC_CHECK_PROGS(NM, nm, nm) ;;
|
|
*) AC_CHECK_PROGS(NM, $NM nm, nm) ;;
|
|
esac
|
|
AC_MSG_CHECKING(nm flags)
|
|
case "${NMFLAGS-unset}" in
|
|
unset) NMFLAGS= ;;
|
|
esac
|
|
AC_MSG_RESULT($NMFLAGS)
|
|
AC_SUBST(NMFLAGS)
|
|
])
|