File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
graalpython/com.oracle.graal.python.hpy.llvm Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -97,16 +97,19 @@ target_include_directories(${TARGET_LIB} PRIVATE
97
97
"${TRUFFLE_H_INC} "
98
98
)
99
99
100
+ target_compile_definitions (${TARGET_LIB} PRIVATE
101
+ HPY_UNIVERSAL_ABI
102
+ NDEBUG
103
+ GRAALVM_PYTHON_LLVM
104
+ )
105
+
100
106
if (WIN32 )
101
107
require_var (GRAALVM_LLVM_LIB_DIR )
102
108
target_link_directories (${TARGET_LIB} PRIVATE ${GRAALVM_LLVM_LIB_DIR} )
103
109
target_link_libraries (${TARGET_LIB} graalvm-llvm )
104
110
target_compile_options (${TARGET_LIB} PRIVATE /Z7 /O2 /WX )
105
111
else ()
106
112
target_compile_options (${TARGET_LIB} PRIVATE
107
- -DHPY_UNIVERSAL_ABI
108
- -DNDEBUG
109
- -DGRAALVM_PYTHON_LLVM
110
113
-Werror
111
114
-Wno-int-to-pointer-cast
112
115
-Wno-int-conversion
You can’t perform that action at this time.
0 commit comments