mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
sci-libs/mkl: Sed pkg-config files to use llvm-runtimes/openmp
Given that we do not package Intel OpenMP and LLVM's implementation seems compatible enough (and the ebuild already depended on it), sed the pkg-config file to actually make it work. Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -56,6 +56,11 @@ src_install() {
|
||||
rm -rv "opt/intel/oneapi/mkl/${PN_VER}"/share/{mkl/benchmarks,doc/mkl/examples} || die
|
||||
fi
|
||||
|
||||
# Replace Intel OpenMP with LLVM OpenMP
|
||||
sed -e '/Requires: openmp/d' \
|
||||
-e '/Libs:/s:$: -lomp:' \
|
||||
-i "${libroot}"/pkgconfig/*iomp.pc || die
|
||||
|
||||
# Symlink pkgconfig and cmake files
|
||||
pushd "${libroot}/pkgconfig" >/dev/null || die
|
||||
for file in *.pc; do
|
||||
|
||||
Reference in New Issue
Block a user