Date: Mon, 11 Jan 2021 19:39:18 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 252379] Mk/Uses/compiler.mk: remove USE_GCC=yes for compiler:openmp due to libomp.so is part of base since 11.3/12.1 Message-ID: <bug-252379-6497-O8iaZTXXDG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-252379-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-252379-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252379 --- Comment #35 from Christoph Moench-Tegeder <cmt@freebsd.org> --- (In reply to Joseph Mingrone from comment #32) The problem with iqtree is that is ships with their private libomp (among others) - precompiled on Linux as lib/libomp.a (there'S also Windows and Mac versions of that, and 32bit version in lib32). That's a stunningly horrible idea... Try someting along these lines as files/patch-CMakeLists.txt: --- CMakeLists.txt.orig 2021-01-11 20:24:32.584318000 +0100 +++ CMakeLists.txt 2021-01-11 20:26:49.293185000 +0100 @@ -323,12 +323,12 @@ if(CLANG AND APPLE) link_directories(${PROJECT_SOURCE_DIR}/libmac) - elseif (WIN32 OR UNIX) - if (BINARY32) - link_directories(${PROJECT_SOURCE_DIR}/lib32) - else() - link_directories(${PROJECT_SOURCE_DIR}/lib) - endif() +# elseif (WIN32 OR UNIX) +# if (BINARY32) +# link_directories(${PROJECT_SOURCE_DIR}/lib32) +# else() +# link_directories(${PROJECT_SOURCE_DIR}/lib) +# endif() endif() if (VCC) That makes the port compile with clang for me (but I can't do any runtime tests) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252379-6497-O8iaZTXXDG>