Skip to content

Commit

Permalink
test: fix ci error due to lit config and library dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kumarak committed Sep 10, 2024
1 parent 0d33a53 commit be28178
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ jobs:

- name: Test ${{ matrix.build-type }} with sanitizers set ${{ matrix.sanitizers }}
run: |
lit ./builds/ci/test -v -DCI_OUTPUT_FOLDER=${{ github.workspace }}/builds/ci/test/ghidra/Output
lit ./builds/ci/test -D BUILD_TYPE=${{ matrix.build-type }} -v -DCI_OUTPUT_FOLDER=${{ github.workspace }}/builds/ci/test/ghidra/Output
2 changes: 1 addition & 1 deletion lib/patchestry/Ghidra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ add_library(patchestry::ghidra ALIAS patchestry_ghidra)

target_link_libraries(patchestry_ghidra
PUBLIC
LLVMSupport
${MLIR_LIBS}
MLIRPcode
PRIVATE
LLVMSupport
patchestry_settings
)
4 changes: 2 additions & 2 deletions test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
if 'BUILD_TYPE' in lit_config.params:
config.patchestry_build_type = lit_config.params['BUILD_TYPE']
else:
config.vast_build_type = "Debug"
config.patchestry_build_type = "Debug"

def patchestry_tool_path(tool):
path = [config.patchestry_tools_dir, tool, config.vast_build_type]
path = [config.patchestry_tools_dir, tool, config.patchestry_build_type]
return os.path.join(*path, tool)

config.decompiler_headless_tool = os.path.join(config.patchestry_script_dir, 'decompile-headless.sh')
Expand Down

0 comments on commit be28178

Please sign in to comment.