Skip to content
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
2 changes: 2 additions & 0 deletions changelogs/unreleased/shankara__pcl-include-fix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fixed:
- Used the wrong PCL guard variable in CMakeLists.txt.
2 changes: 1 addition & 1 deletion include/llzk/Transforms/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include_directories(${MLIR_INCLUDE_DIRS} ${LLZK_INCLUDE_DIR})

set(_TBLGEN_PCL_FLAG "")
if(LLZK_WITH_PCL)
if(LLZK_WITH_PCL_BOOL)
set(_TBLGEN_PCL_FLAG "-DWITH_PCL")
endif()

Expand Down
2 changes: 1 addition & 1 deletion lib/Transforms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ add_library(LLZK::LLZKTransforms ALIAS LLZKTransforms)
file(GLOB LLZKTransforms_SOURCES "*.cpp")

# Remove the PCL lowering .cpp only when disabled.
if(NOT LLZK_WITH_PCL)
if(NOT LLZK_WITH_PCL_BOOL)
list(REMOVE_ITEM LLZKTransforms_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/LLZKPCLLoweringPass.cpp")
endif()

Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set(LIT_ARGS "--xunit-xml-output report.xml")
# creating this guard and setting to 0-1
# because python doesn't like the ON/OFF stuff
set(LLZK_WITH_PCL_GUARD 0)
if(LLZK_WITH_PCL)
if(LLZK_WITH_PCL_BOOL)
set(LLZK_WITH_PCL_GUARD 1)
endif()

Expand Down
Loading