[all-commits] [llvm/llvm-project] 782a16: [OpenMP]Fix trivial build failure in MacOS
Mats Petersson via All-commits
all-commits at lists.llvm.org
Wed May 17 10:12:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 782a16db4db5bc9c145fbe27c8c652c0d4cb49d7
https://github.com/llvm/llvm-project/commit/782a16db4db5bc9c145fbe27c8c652c0d4cb49d7
Author: Mats Petersson <mats.petersson at arm.com>
Date: 2023-05-17 (Wed, 17 May 2023)
Changed paths:
M openmp/runtime/src/kmp_collapse.cpp
Log Message:
-----------
[OpenMP]Fix trivial build failure in MacOS
MacOS build of LLVM with OpenMP enabled fails with an error
that it doesn't know what std::abs is. Fix by including <cmath>
so that the relevant function declaration is included.
No functional change intended.
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D150687
More information about the All-commits
mailing list