Skip to content

stdlib: remove llvm-config.h from swiftLLVMSupport #31900

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 0 additions & 82 deletions stdlib/include/llvm/Config/llvm-config.h.cmake

This file was deleted.

2 changes: 0 additions & 2 deletions stdlib/include/llvm/Support/Compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#ifndef LLVM_SUPPORT_COMPILER_H
#define LLVM_SUPPORT_COMPILER_H

#include "llvm/Config/llvm-config.h"

#ifdef __cplusplus
#include <new>
#endif
Expand Down
20 changes: 0 additions & 20 deletions stdlib/public/LLVMSupport/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@

set(LLVM_DEFAULT_TARGET_TRIPLE)
set(LLVM_ENABLE_DUMP)
set(LLVM_ENABLE_THREADS YES)
set(LLVM_FORCE_ENABLE_STATS NO)
set(LLVM_HAS_ATOMICS YES)
set(LLVM_HOST_TRIPLE)
set(LLVM_NATIVE_ARCH)
if(SWIFT_PRIMARY_VARIANT_SDK STREQUAL Windows)
set(LLVM_ON_UNIX NO)
else()
set(LLVM_ON_UNIX YES)
endif()
set(LLVM_USE_INTEL_JITEVENTS NO)
set(LLVM_USE_OPROFILE NO)
set(LLVM_USE_PERF NO)

configure_file(${PROJECT_SOURCE_DIR}/include/llvm/Config/llvm-config.h.cmake
${CMAKE_CURRENT_BINARY_DIR}/llvm/Config/llvm-config.h)

add_swift_target_library(swiftLLVMSupport OBJECT_LIBRARY
ErrorHandling.cpp
Hashing.cpp
Expand Down