Make cleanall && make testall broke v0.6.0-pre.beta

Specifically on MacOS 10.12.2, all bells and whistles (that is, Apple LLVM version 8.1.0 (clang-802.0.42) from the latest XCode, dev tools), gfortran as GNU Fortran (Homebrew GCC 7.1.0) 7.1.0

Because I homebrew updated cmake and gcc I updated the CMakeCache.txt files and then run

make cleanall && make testall

BUT:

CC src/codegen.o In file included from /usr/local/julia/src/codegen.cpp:48: In file included from /usr/local/julia/usr/include/llvm/Analysis/TargetLibraryInfo.h:16: In file included from /usr/local/julia/usr/include/llvm/IR/Function.h:22: In file included from /usr/local/julia/usr/include/llvm/IR/Argument.h:19: /usr/local/julia/usr/include/llvm/IR/Attributes.h:71:14: fatal error: 'llvm/IR/Attributes.inc' file not found #include "llvm/IR/Attributes.inc" ^ 1 error generated. make[1]: *** [codegen.o] Error 1 make: *** [julia-src-release] Error 2

If you’ve updated gcc, you probably need to recompile llvm and maybe other dependencies as well. Do make -C deps distclean-llvm to rebuild llvm, or make distcleanall to rebuild absolutely all dependencies.

1 Like