<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Hello guys,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I'm trying to register my custom pass by following the pass registration steps from llvm cookbook(Doing this on llvm 7)</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Upon building it, I'm getting this error</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>make[2]: *** No rule to make target 'lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/build'. Stop.<br>CMakeFiles/Makefile2:3134: recipe for target 'lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/all' failed<br>make[1]: *** [lib/Transforms/Scalar/CMakeFiles/LLVMScalarOpts.dir/all] Error 2<br>make[1]: *** Waiting for unfinished jobs....<br>[ 44%] Built target LLVMInstCombine<br>[ 47%] Built target LLVMTransformUtils<br>[ 57%] Built target LLVMCodeGen<br>Makefile:151: recipe for target 'all' failed<br>make: *** [all] Error 2<br><div><br></div><div dir="ltr" data-setdir="false">Can anyone please explain how to solve this?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks.<br></div></div></div></div></body></html>