[MacPorts] #48145: castxml: add variants for different versions of clang toolchain, use corresponding toolchain for compilation
#48145: castxml: add variants for different versions of clang toolchain, use corresponding toolchain for compilation ----------------------+------------------------ Reporter: mmoll@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: haspatch | Port: castxml ----------------------+------------------------ castxml needs to be compiled with clang 3.6 or higher. It also needs the full install of llvm that MacPorts provides (Xcode is not complete enough). The attached patch fixes compilation problems on older OSs and adds the option to use clang-3.7. -- Ticket URL: <https://trac.macports.org/ticket/48145> MacPorts <https://www.macports.org/> Ports system for OS X
#48145: castxml: add variants for different versions of clang toolchain, use corresponding toolchain for compilation ----------------------+------------------------ Reporter: mmoll@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: castxml | ----------------------+------------------------ Comment (by stromnov@…): AFAIK, CastXML can be compiled with any compatible compiler (GCC/XCode Clang/Clang), but must be linked with full stack LLVM/Clang (we have only two compatible versions in macports tree: 3.6 and 3.7). LLVM/Clang in MacPorts generally compiled via XCode, so, as far as I understant, it is far more safe (in terms of ABI) to compile CastXML using the same compiler toolchain. -- Ticket URL: <https://trac.macports.org/ticket/48145#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48145: castxml: add variants for different versions of clang toolchain, use corresponding toolchain for compilation ----------------------+------------------------ Reporter: mmoll@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: castxml | ----------------------+------------------------ Comment (by mmoll@…): You mean the same compiler as was used to compile LLVM/Clang? CastXML requires a C++11 compiler. It is probably a good idea to "inherit" the compiler blacklist from clang 3.6/3.7 to avoid build problems like these: https://build.macports.org/builders/buildports-mtln-x86_64/builds/24158. -- Ticket URL: <https://trac.macports.org/ticket/48145#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48145: castxml: add variants for different versions of clang toolchain, use corresponding toolchain for compilation ----------------------+------------------------ Reporter: mmoll@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: castxml | ----------------------+------------------------ Comment (by ryandesign@…): Replying to [comment:2 mmoll@…]:
CastXML requires a C++11 compiler. It is probably a good idea to "inherit" the compiler blacklist from clang 3.6/3.7
Then this port should use the cxx11-1.0 portgroup, and not set the blacklist manually. -- Ticket URL: <https://trac.macports.org/ticket/48145#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48145: castxml: add variants for different versions of clang toolchain, use corresponding toolchain for compilation ----------------------+------------------------ Reporter: mmoll@… | Owner: stromnov@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: haspatch Port: castxml | ----------------------+------------------------ Changes (by mmoll@…): * status: new => closed * resolution: => fixed Comment: This was fixed a long time ago. -- Ticket URL: <https://trac.macports.org/ticket/48145#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts