Skip to content

Unable to complete Make process on Ubuntu 22.04 due to Resynthesis Plugin #614

@UsuallyReadsTheManual

Description

@UsuallyReadsTheManual

OS - Ubuntu 22.04

Downloaded the tar source file for hal 4.4.1.

Expected result of make -$(nproc) should yield completed build.

Actual results: make: *** [Makefile:156: all] Error 2
Due to:

Command ran for cmake: cmake .. -DPL_RESYNTHESIS=OFF
Have also tried -CMAKE_DPL_RESYNTHESIS=OFF and variants of =0
cmake seems to be ignoring the directive to ignore resynthesis plugin during make/cmake process.

Actual error from build process:

/hal-4.4.1/plugins/netlist_preprocessing/src/netlist_preprocessing.cpp:16:10: fatal error: resynthesis/resynthesis.h: No such file or directory
   16 | #include "resynthesis/resynthesis.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Here is the output of the cmake process:

-- Selected build type: Release
-- ccache found!
-- System is:
-- Linux distro is: Ubuntu
-- Linux Distro version name is: jammy
-- System Arch is: x86_64
-- Extracting Version Information in PATH: /opt/hal-4.4.1
-- HAL_VERSION_RETURN:
-- HAL_VERSION: v4.4.1
-- Checking for module 'bitwuzla'
--   Package 'bitwuzla', required by 'virtual:world', not found
-- Bitwuzla not found, but this is optional...
-- openMP found
-- RapidJSON found. Headers: /usr/include
-- Found rapidjson /usr/include
-- Set rapidjson path successully: /usr/include
-- Found pybind11: /usr/include (found version "2.9.1")
-- using spdlog from deps
-- using subprocess from deps
-- using nlohmann_json from deps
-- Python3_INCLUDE_DIRS: /usr/include/python3.10
-- Python3_LIBRARIES: /usr/lib/x86_64-linux-gnu/libpython3.10.so
-- PYTHON_MODULE_PREFIX:
-- PYTHON_MODULE_EXTENSION: .cpython-310-x86_64-linux-gnu.so
-- Checking for module 'libcgraph'
--   Package 'libcgraph', required by 'virtual:world', not found
-- Checking for module 'libcdt'
--   Package 'libcdt', required by 'virtual:world', not found
-- Checking for module 'libgvc'
--   Package 'libgvc', required by 'virtual:world', not found
-- Checking for module 'libpathplan'
--   Package 'libpathplan', required by 'virtual:world', not found
-- Could NOT find Graphviz (missing: GRAPHVIZ_LIBRARIES GRAPHVIZ_INCLUDE_DIR)
-- ABC not found
-- Will build abc ourselves, check README.md to see how to speed up the process...
-- Found z3
--     Z3_LIBRARIES: /usr/lib/x86_64-linux-gnu/libz3.so
--     Z3_INCLUDE_DIRS: /usr/include
-- Using igraph from /opt/hal-4.4.1/deps/igraph-0.10.x
-- Checking supported compiler flags...
-- Performing Test supports_-Wall
-- Performing Test supports_-Wall - Success
-- Performing Test supports_-Wextra
-- Performing Test supports_-Wextra - Success
-- Performing Test supports_-pedantic
-- Performing Test supports_-pedantic - Success
-- Performing Test supports_-Wshadow
-- Performing Test supports_-Wshadow - Success
-- Performing Test supports_-g
-- Performing Test supports_-g - Success
-- Performing Test supports_-Wno-undef
-- Performing Test supports_-Wno-undef - Success
-- Performing Test supports_-Werror=return-type
-- Performing Test supports_-Werror=return-type - Success
-- Performing Test supports_-fcolor-diagnostics
-- Performing Test supports_-fcolor-diagnostics - Failed
-- Performing Test supports_-fdiagnostics-color=always
-- Performing Test supports_-fdiagnostics-color=always - Success
-- Performing Test supports_-fsized-deallocation
-- Performing Test supports_-fsized-deallocation - Success
-- Performing Test supports_-O0
-- Performing Test supports_-O0 - Success
-- Performing Test supports_-g
-- Performing Test supports_-g - Success
-- Performing Test supports_-O3
-- Performing Test supports_-O3 - Success
-- Performing Test supports_-DNDEBUG
-- Performing Test supports_-DNDEBUG - Success
-- Performing Test supports_-Os
-- Performing Test supports_-Os - Success
-- Performing Test supports_-DNDEBUG
-- Performing Test supports_-DNDEBUG - Success
-- Performing Test supports_-O2
-- Performing Test supports_-O2 - Success
-- Performing Test supports_-g
-- Performing Test supports_-g - Success
-- Performing Test supports_-O1
-- Performing Test supports_-O1 - Success
-- Performing Test supports_-g
-- Performing Test supports_-g - Success
-- Performing Test supports_-fno-inline-functions
-- Performing Test supports_-fno-inline-functions - Success
-- Performing Test supports_-fno-inline-functions-called-once
-- Performing Test supports_-fno-inline-functions-called-once - Success
-- Performing Test supports_-fno-optimize-sibling-calls
-- Performing Test supports_-fno-optimize-sibling-calls - Success
-- Performing Test supports_-fno-omit-frame-pointer
-- Performing Test supports_-fno-omit-frame-pointer - Success
-- HAL_STUDY mode turned OFF!
-- GATE_LIBS: /opt/hal-4.4.1/plugins/gate_libraries/definitions/.gitignore;/opt/hal-4.4.1/plugins/gate_libraries/definitions/NanGate_15nm_OCL.hgl;/opt/hal-4.4.1/plugins/gate_libraries/defi>
-- HELPER_GATE_LIBS: /opt/hal-4.4.1/plugins/gate_libraries/definitions/helper_libs/aoixm_hal_i4.hgl;/opt/hal-4.4.1/plugins/gate_libraries/definitions/helper_libs/im_hal_i4.hgl
-- Using Qt version 5
-- Using quazip from /opt/hal-4.4.1/deps/quazip-1.3
-- CPACK_GENERATOR:
-- PROJECT_ARCH: x86_64
-- Building for focal
-- version-abc: 4.4.1
-- version: 4.4.1
-- Debian version: 4.4.1-ppa1~focal1
-- CPACK_SOURCE_IGNORE_FILES: /mxe/;/\\.vscode/;/\\.codelite/;/\\.idea/;/cmake-.*/;\\.project$;\\.workspace$;\\.iml$;\\.mk$;\\.astylerc$;\\.editorconfig$;/Makefile$
-- Upload PPA is OFF
-- SIMULATE_DPUT_STR is -s
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/hal-4.4.1/build

is cmake blatantly ignoring option inputs??
Any assistance is greatly appreciated, thank you!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions