Building PowerPC.td register information header with tblgen
Included from PowerPC.td:22:
Parsing PowerPCInstrInfo.td:53: Variable not defined: 'GPRC'!
make[3]: *** [PowerPCGenRegisterInfo.h.inc] Error 1
make[3]: Leaving directory `/pool/tmp/ssrc/llvm/lib/Target/PowerPC'
maybe I just have to "make clean" and/or ./configure
BTW, would it be nice to put Depend, Release and Debug
into .cvsignore for other llvm fans too?
Yup, unfortunately the dependencies are confused in that directory due to
a file or two that moved. Please just do 'make clean' in
lib/Target/PowerPC and it should be ok.
Building PowerPC.td register information header with tblgen
Included from PowerPC.td:22:
Parsing PowerPCInstrInfo.td:53: Variable not defined: 'GPRC'!
make[3]: *** [PowerPCGenRegisterInfo.h.inc] Error 1
make[3]: Leaving directory `/pool/tmp/ssrc/llvm/lib/Target/PowerPC'
maybe I just have to "make clean" and/or ./configure
Yeah, you need to make clean most likely.
BTW, would it be nice to put Depend, Release and Debug
into .cvsignore for other llvm fans too?
I personally have a build directory outside of the source tree, and
don't encounter this problem.
Building PowerPC.td register information header with tblgen
Included from PowerPC.td:22:
Parsing PowerPCInstrInfo.td:53: Variable not defined: 'GPRC'!
make[3]: *** [PowerPCGenRegisterInfo.h.inc] Error 1
make[3]: Leaving directory `/pool/tmp/ssrc/llvm/lib/Target/PowerPC'
maybe I just have to "make clean" and/or ./configure
Yeah, you need to make clean most likely.
If, for some reason, that doesn't work, you can remove the Depend directories manually, and that should fix it as well.
BTW, would it be nice to put Depend, Release and Debug into .cvsignore for other llvm fans too?
I personally have a build directory outside of the source tree, and don't encounter this problem.
I think I've actually seen this problem in my build tree as well, and srcdir!=objdir for me too. So changing from srcdir==objdir to srcdir!=objdir may not magically solve the problem.
I think the problem Valery is talking about is that when you run 'cvs
up', it complains about Depend, Debug, Release, and Profile dirs, in
EVERY subdirectory (? Debug, etc).
I think it's unrelated to the Makefile issue he mentioned earlier.
Correct me if I'm wrong, Vallery.
You might also want to try "cvs upd -APdR" in order to recursively remove sticky tags, prune empty directories, and build new directories. Since you're getting a compilation error, this doesn't seem to me to be a dependency problem but rather pulling in the wrong version of on of the *.td files.
I think the problem Valery is talking about is that when you run 'cvs
up', it complains about Depend, Debug, Release, and Profile dirs, in
EVERY subdirectory (? Debug, etc).
I think it's unrelated to the Makefile issue he mentioned earlier.
Correct me if I'm wrong, Vallery.
you are right.
I should have had to post this issue as sepparate mail to avoid misunderstanding.
in context of learning API of new large lib (as LLVM is), personally
I like small examples very much, and the smaller examples are, the
more i like them