Add detection of whether LLVM has PTX in the windows build

This commit is contained in:
Mark Wiebe 2012-08-29 13:51:07 -07:00
commit 01b55b48f7
3 changed files with 22 additions and 11 deletions

View file

@ -45,15 +45,10 @@
#define LLVM_HAS_NVPTX 0
#endif
#if defined(_WIN32)
#define LLVM_DISABLE_PTX
#endif
#include "llvm-c/Transforms/PassManagerBuilder.h"
#include "llvm_c_extra.h"
#ifdef __cplusplus
extern "C" {
#endif