From afba0796039150bae8ac0453074cf1be79038c5b Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Thu, 12 Nov 2020 13:48:39 -0500 Subject: [PATCH] feat(build): Make `setup.py sdist` functional (#53) * feat(build): Make `setup.py sdist` functional One step closer to a functional Tourniquet package. --- .gitignore | 1 + CMakeLists.txt | 2 +- MANIFEST.in | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 MANIFEST.in diff --git a/.gitignore b/.gitignore index 30f0f45..be219d0 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ __pycache__/ extractor.so .coverage html/ +dist/ diff --git a/CMakeLists.txt b/CMakeLists.txt index bdd2464..a3d77e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}") message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}") if(("${LLVM_PACKAGE_VERSION}" VERSION_LESS 9.0.0) - OR ("${LLVM_PACKAGE_VERSION}" VERSION_GREATER 11)) + OR ("${LLVM_PACKAGE_VERSION}" VERSION_GREATER_EQUAL 12)) message(FATAL_ERROR "Unsupported LLVM version: ${LLVM_PACKAGE_VERSION}") endif() diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..3b653d6 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +include transformer/*.cpp +include transformer/*.h +include CMakeLists.txt +include dev-requirements.txt