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

**URL:** <https://discourse.julialang.org/t/make-cleanall-make-testall-broke-v0-6-0-pre-beta/3515>\
**Category:** Internals & Design\
**Created:** [May 4, 2017, 1:50pm UTC](https://discourse.julialang.org/t/make-cleanall-make-testall-broke-v0-6-0-pre-beta/3515 "2017-05-04T13:50:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Federico\_Calboli](https://avatars.discourse-cdn.com/v4/letter/f/c0e974/32.png) [@Federico\_Calboli](https://discourse.julialang.org/u/Federico_Calboli)\
**Post date:** [May 4, 2017, 1:50pm UTC](https://discourse.julialang.org/t/make-cleanall-make-testall-broke-v0-6-0-pre-beta/3515/1 "2017-05-04T13:50:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tkelman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkelman/32/692_2.png) [@tkelman](https://discourse.julialang.org/u/tkelman)\
**Post date:** [May 4, 2017, 3:08pm UTC](https://discourse.julialang.org/t/make-cleanall-make-testall-broke-v0-6-0-pre-beta/3515/2 "2017-05-04T15:08:34Z")

</div>

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.
