LLVM-7-branch icon indicating copy to clipboard operation
LLVM-7-branch copied to clipboard

Bug in Lexer.cpp?

Open barracuda156 opened this issue 2 years ago • 1 comments

I was building libtapi @1100.0.11_0 and it failed on Lexer.cpp.

I found the following: https://systems.nic.uoregon.edu/internal-wiki/index.php?title=Tau_clang_plugin In particular, it advises:

On PowerPC architectures, all LLVM versions prior to LLVM 9 (included) need to update the file llvm-project/clang/lib/Lex/Lex.cpp from !vec_any_eq((const vector unsigned char)CurPtr, Slashes)) to !vec_any_eq((const __vector unsigned char)CurPtr, Slashes))

After I changed vector to __vector, libtapi has built:

36-73% port -v installed libtapi
The following ports are currently installed:
  libtapi @1000.10.8_1 requested_variants='' platform='darwin 10' archs='ppc' date='2022-03-20T07:55:02+0800'
  libtapi @1100.0.11_0 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2022-03-21T20:55:45+0800'

barracuda156 avatar Mar 21 '22 13:03 barracuda156

@iains And since you tapi repo has no Issues enabled, asking here: are your patches for tapi relevant to the current libtapi @1100.0.11? If yes, I will bring them into Macports, since libtapi now builds for PPC.

barracuda156 avatar May 26 '22 15:05 barracuda156