[Openmp-commits] [PATCH] D95306: openmp: stop checking /proc/cpuinfo on arm mac
Toshifumi NISHINAGA via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sun Jan 24 00:33:16 PST 2021
tnishinaga added a comment.
How to reproduce
================
mkdir llvm-build/
mkdir llvm-target/
cmake \
./llvm \
-G "Unix Makefiles" \
-B ./llvm-build \
-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG \
-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG \
-DCMAKE_INSTALL_PREFIX=$(pwd)/llvm-target/ \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_FIND_FRAMEWORK=LAST \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-Wno-dev \
-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk \
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;lldb;openmp;polly;mlir" \
-DLLVM_ENABLE_RUNTIMES="compiler-rt;libcxx;libcxxabi;libunwind" \
-DLLVM_POLLY_LINK_INTO_TOOLS=ON \
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_BUILD_LLVM_C_DYLIB=ON \
-DLLVM_ENABLE_EH=ON \
-DLLVM_ENABLE_FFI=ON \
-DLLVM_ENABLE_LIBCXX=ON \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_INCLUDE_DOCS=OFF \
-DLLVM_INCLUDE_TESTS=OFF \
-DLLVM_INSTALL_UTILS=ON \
-DLLVM_ENABLE_Z3_SOLVER=OFF \
-DLLVM_OPTIMIZED_TABLEGEN=ON \
-DLLVM_TARGETS_TO_BUILD=all \
-DFFI_INCLUDE_DIR=/opt/homebrew/opt/libffi/lib/libffi-3.3/include \
-DFFI_LIBRARY_DIR=/opt/homebrew/opt/libffi/lib \
-DLLVM_CREATE_XCODE_TOOLCHAIN=ON \
-DLLDB_USE_SYSTEM_DEBUGSERVER=ON \
-DLLDB_ENABLE_PYTHON=OFF \
-DLLDB_ENABLE_LUA=OFF \
-DLLDB_ENABLE_LZMA=OFF \
-DLIBOMP_INSTALL_ALIASES=OFF \
-DCLANG_PYTHON_BINDINGS_VERSIONS=3.9 \
-DDEFAULT_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
cmake --build llvm-build
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95306/new/
https://reviews.llvm.org/D95306
More information about the Openmp-commits
mailing list