On Sun, 2017-02-26 at 16:42 +0100, Christian Schmidbauer wrote:
> Hallo,
>
> I provided a v2 of my previous patch to the ML a few hours back (see
> [1]), you can give it a try. I was successfully able to build llvm on
> Gentoo, by adding the following lines to
> /usr/portage/eclass/cmake-utils.eclass
>
> --- aaa/cmake-utils.eclass 2017-02-07 06:44:59.000000000 +0100
> +++ bbb/cmake-utils.eclass 2017-02-26 16:37:53.176993623 +0100
> @@ -607,6 +607,7 @@
> cat > "${common_config}" <<- _EOF_ || die
> SET (CMAKE_GENTOO_BUILD ON CACHE BOOL "Indicate
> Gentoo
> package build")
> SET (LIB_SUFFIX ${libdir/lib} CACHE STRING "library
> path suffix" FORCE)
> + SET (CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX
> "${libdir/lib}" CACHE STRING "")
> SET (CMAKE_INSTALL_LIBDIR ${libdir} CACHE PATH
> "Output
> directory for libraries")
> _EOF_
> [[ "${NOCOLOR}" = true || "${NOCOLOR}" = yes ]] && echo 'SET
> (CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors during make"
> FORCE)' >> "${common_config}"
>
Hallo Chris,I've made some progress with run-time x32 detection in cmake. I'll see how that goes, if I can't get it working (which I'm testing now) I'll use your approach.
signature.asc
Description: This is a digitally signed message part
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
