On 2019/07/17 00:51, Jeremie Courreges-Anglas wrote:
> On Sun, Jul 14 2019, Brian Callahan <[email protected]> wrote:
> > Hi ports --
> >
> > When trying to update flang, I get this message during `make configure':
> > CMake Error at /usr/local/lib/cmake/llvm/HandleLLVMOptions.cmake:14 (if):
> >   Syntax error in cmake code at
> >
> >     /usr/local/lib/cmake/llvm/HandleLLVMOptions.cmake:14
> >
> >   when parsing string
> >
> >     lld-link\.exe
> >
> >   Invalid escape sequence \.
> > Call Stack (most recent call first):
> >   CMakeLists.txt:164 (include)
> >
> >
> > -- Configuring incomplete, errors occurred!
> >
> > Indeed, if I remove the \ from lld-link\.exe from
> > /usr/local/lib/cmake/llvm/HandleLLVMOptions.cmake then flang builds
> > fine.
> 
> I'm not sure what the problem is, maybe a difference between our cmake
> version (3.10.2) and what upstream tends to use?
> 
> Anyway, if you have a patch that removes the backslash and fixes your
> problem, ok jca@
> 
> BTW, regarding cmake, rsadowski@ has an update and he asked for tests:
> 
>   https://marc.info/?l=openbsd-ports&m=156204264710542&w=2
> 
> -- 
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
> 

https://github.com/llvm-mirror/llvm/commit/b8b62917a1566bfc6d8706d06042171aa2306bbc

then followed by

https://github.com/llvm-mirror/llvm/commit/614d096016667810cc777db37d180accb2390cfb

Reply via email to