Open GetPsyched opened 1 month ago
That is strange. I will take a look this week.
Thanks! As discussed in the PR linked above, we have got LunaPnR to build on the latest commit. Perhaps you can cut out a release for it as well? Given there's no additional changes pending wrt. a release.
When building LunaPnR v0.1.6, the executables from
tools/CMakeLists.txt
seem to be called before they're brought into scope.Logs
``` fixing cmake files... cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/nlpcwq131idddm0r0wwdgbr9gz12js6l-lunapnr-0.1.6/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/nlpcwq131idddm0r0wwdgbr9gz12js6l-lunapnr-0.1.6/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/nlpcwq131idddm0r0wwdgbr9gz12js6l-lunapnr-0.1.6/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/nlpcwq131idddm0r0wwdgbr9gz12js6l-lunapnr-0.1.6/share/doc/luna_pnr -DCMAKE_INSTALL_INFODIR=/nix/store/nlpcwq131idddm0r0wwdgbr9gz12js6l-lunapnr-0.1.6/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/nlpcwq131idddm0r0wwdgbr9gz12js6l-lunapnr-0.1.6/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/nlpcwq131idddm0r0wwdgbr9gz12js6l-lunapnr-0.1.6/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/nlpcwq131idddm0r0wwdgbr9gz12js6l-lunapnr-0.1.6/include -DCMAKE_INSTALL_SBINDIR=/nix/store/nlpcwq131idddm0r0wwdgbr9gz12js6l-lunapnr-0.1.6/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/nlpcwq131idddm0r0wwdgbr9gz12js6l-lunapnr-0.1.6/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/nlpcwq131idddm0r0wwdgbr9gz12js6l-lunapnr-0.1.6/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/0mc51kvhavf87r695wnj2bsc8cg9yc2c-gcc-wrapper-11.4.0/bin/strip -DCMAKE_RANLIB=/nix/store/0mc51kvhavf87r695wnj2bsc8cg9yc2c-gcc-wrapper-11.4.0/bin/ranlib -DCMAKE_AR=/nix/store/0mc51kvhavf87r695wnj2bsc8cg9yc2c-gcc-wrapper-11.4.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/nlpcwq131idddm0r0wwdgbr9gz12js6l-lunapnr-0.1.6 -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/0mc51kvhavf87r695wnj2bsc8cg9yc2c-gcc-wrapper-11.4.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/0mc51kvhavf87r695wnj2bsc8cg9yc2c-gcc-wrapper-11.4.0/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- LunaPnRVersion:LunaPnR version 0.1.6 CMake Warning (dev) at core/CMakeLists.txt:43 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonLibs: /nix/store/6b1fqdwb3g56j5pazv8zkx9qd0mv3wiz-python3-3.11.9/lib/libpython3.11.so (found suitable version "3.11.9", minimum required is "3.8") CMake Warning (dev) at gui/CMakeLists.txt:11 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done (0.6s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTING CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DOCDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_INFODIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_MANDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR CMAKE_POLICY_DEFAULT_CMP0025 -- Build files have been written to: /build/source/build cmake: enabled parallel installing Running phase: buildPhase build flags: -j1 [1/143] Building CXX object core/CMakeFiles/lunacore.dir/common/logging.cpp.o [2/143] Building CXX object core/CMakeFiles/lunacore.dir/common/dbtypes.cpp.o [3/143] Building CXX object core/CMakeFiles/lunacore.dir/common/fileutils.cpp.o [4/143] Building CXX object core/CMakeFiles/lunacore.dir/common/matrix.cpp.o [5/143] Building CXX object core/CMakeFiles/lunacore.dir/common/geometry.cpp.o [6/143] Building CXX object core/CMakeFiles/lunacore.dir/netlist/net.cpp.o [7/143] Building CXX object core/CMakeFiles/lunacore.dir/netlist/instance.cpp.o [8/143] Building CXX object core/CMakeFiles/lunacore.dir/netlist/netlist.cpp.o [9/143] Building CXX object core/CMakeFiles/lunacore.dir/netlist/netlisttools.cpp.o [10/143] Building CXX object core/CMakeFiles/lunacore.dir/cellplacer2/cellplacer2.cpp.o [11/143] Building CXX object core/CMakeFiles/lunacore.dir/cellplacer2/fillerhandler.cpp.o [12/143] Building CXX object core/CMakeFiles/lunacore.dir/cellplacer/qplacertypes.cpp.o [13/143] Building CXX object core/CMakeFiles/lunacore.dir/cellplacer/cellplacer.cpp.o [14/143] Building CXX object core/CMakeFiles/lunacore.dir/cellplacer/netlistsplitter.cpp.o [15/143] Building CXX object core/CMakeFiles/lunacore.dir/cellplacer/qlaplacer_private.cpp.o [16/143] Building CXX object core/CMakeFiles/lunacore.dir/cellplacer/qlaplacer.cpp.o [17/143] Building CXX object core/CMakeFiles/lunacore.dir/cellplacer/rowlegalizer.cpp.o [18/143] Building CXX object core/CMakeFiles/lunacore.dir/celllib/cell.cpp.o [19/143] Building CXX object core/CMakeFiles/lunacore.dir/celllib/pin.cpp.o [20/143] Building CXX object core/CMakeFiles/lunacore.dir/celllib/module.cpp.o [21/143] Building CXX object core/CMakeFiles/lunacore.dir/celllib/celllib.cpp.o [22/143] Building CXX object core/CMakeFiles/lunacore.dir/techlib/techlib.cpp.o [23/143] Building CXX object core/CMakeFiles/lunacore.dir/floorplan/floorplan.cpp.o [24/143] Building CXX object core/CMakeFiles/lunacore.dir/floorplan/region.cpp.o [25/143] Building CXX object core/CMakeFiles/lunacore.dir/floorplan/row.cpp.o [26/143] Building CXX object core/CMakeFiles/lunacore.dir/design/design.cpp.o [27/143] Building CXX object core/CMakeFiles/lunacore.dir/partitioner/fmpart.cpp.o [28/143] Building CXX object core/CMakeFiles/lunacore.dir/import/liberty/libparser.cpp.o [29/143] Building CXX object core/CMakeFiles/lunacore.dir/import/liberty/libreader.cpp.o [30/143] Building CXX object core/CMakeFiles/lunacore.dir/import/liberty/libreaderimpl.cpp.o [31/143] Building CXX object core/CMakeFiles/lunacore.dir/import/lef/lefparser.cpp.o [32/143] Building CXX object core/CMakeFiles/lunacore.dir/import/lef/lefreaderimpl.cpp.o [33/143] Building CXX object core/CMakeFiles/lunacore.dir/import/lef/lefreader.cpp.o [34/143] Building CXX object core/CMakeFiles/lunacore.dir/import/def/defparser.cpp.o [35/143] Building CXX object core/CMakeFiles/lunacore.dir/import/def/defreaderimpl.cpp.o [36/143] Building CXX object core/CMakeFiles/lunacore.dir/import/def/defreader.cpp.o [37/143] Building CXX object core/CMakeFiles/lunacore.dir/import/verilog/veriloglexer.cpp.o [38/143] Building CXX object core/CMakeFiles/lunacore.dir/import/verilog/verilogparser.cpp.o [39/143] Building CXX object core/CMakeFiles/lunacore.dir/import/verilog/verilogreader.cpp.o [40/143] Building CXX object core/CMakeFiles/lunacore.dir/import/ppm/ppmreader.cpp.o [41/143] Building CXX object core/CMakeFiles/lunacore.dir/export/svg/svgwriter.cpp.o [42/143] Building CXX object core/CMakeFiles/lunacore.dir/export/dot/dotwriter.cpp.o [43/143] Building CXX object core/CMakeFiles/lunacore.dir/export/def/defwriter.cpp.o [44/143] Building CXX object core/CMakeFiles/lunacore.dir/export/ppm/ppmwriter.cpp.o [45/143] Building CXX object core/CMakeFiles/lunacore.dir/export/verilog/verilogwriter.cpp.o [46/143] Building CXX object core/CMakeFiles/lunacore.dir/export/txt/txtwriter.cpp.o [47/143] Building CXX object core/CMakeFiles/lunacore.dir/export/spef/spefwriter.cpp.o [48/143] Building CXX object core/CMakeFiles/lunacore.dir/python/pylunapnr.cpp.o [49/143] Building CXX object core/CMakeFiles/lunacore.dir/python/converters.cpp.o [50/143] Building CXX object core/CMakeFiles/lunacore.dir/python/consoleredirect.cpp.o [51/143] Building CXX object core/CMakeFiles/lunacore.dir/python/types/pypin.cpp.o [52/143] Building CXX object core/CMakeFiles/lunacore.dir/python/types/pynet.cpp.o [53/143] Building CXX object core/CMakeFiles/lunacore.dir/python/types/pynets.cpp.o [54/143] Building CXX object core/CMakeFiles/lunacore.dir/python/types/pycell.cpp.o [55/143] Building CXX object core/CMakeFiles/lunacore.dir/python/types/pycelllib.cpp.o [56/143] Building CXX object core/CMakeFiles/lunacore.dir/python/types/pypininfo.cpp.o [57/143] Building CXX object core/CMakeFiles/lunacore.dir/python/types/pypininfolist.cpp.o [58/143] Building CXX object core/CMakeFiles/lunacore.dir/python/types/pyinstance.cpp.o [59/143] Building CXX object core/CMakeFiles/lunacore.dir/python/types/pyinstances.cpp.o [60/143] Building CXX object core/CMakeFiles/lunacore.dir/python/types/pylayerinfo.cpp.o [61/143] Building CXX object core/CMakeFiles/lunacore.dir/python/types/pytechlayers.cpp.o [62/143] Building CXX object core/CMakeFiles/lunacore.dir/python/types/pysiteinfo.cpp.o [63/143] Building CXX object core/CMakeFiles/lunacore.dir/python/types/pytechsites.cpp.o [64/143] Building CXX object core/CMakeFiles/lunacore.dir/globalroute/globalrouter.cpp.o [65/143] Building CXX object core/CMakeFiles/lunacore.dir/globalroute/prim_private.cpp.o [66/143] Building CXX object core/CMakeFiles/lunacore.dir/globalroute/prim.cpp.o [67/143] Building CXX object core/CMakeFiles/lunacore.dir/globalroute/grid.cpp.o [68/143] Building CXX object core/CMakeFiles/lunacore.dir/globalroute/wavefront.cpp.o [69/143] Building CXX object core/CMakeFiles/lunacore.dir/cts/cts.cpp.o [70/143] Building CXX object core/CMakeFiles/lunacore.dir/__/version/version.cpp.o [71/143] Building CXX object core/CMakeFiles/lunacore.dir/common/subprocess_unix.cpp.o [72/143] Linking CXX static library core/liblunacore.a [72/143] cd /build/source/build/gui && /build/source/build/tools/doctool /build/source/gui/python/pyluna_extra.cpp /build/source/gui/../core/python/pylunapnr.cpp /build/source/gui/console/commandcompletion.inc /bin/sh: /build/source/build/tools/doctool: not found FAILED: gui/CMakeFiles/commandcompletion /build/source/gui/console/commandcompletion.inc /build/source/build/gui/CMakeFiles/commandcompletion cd /build/source/build/gui && /build/source/build/tools/doctool /build/source/gui/python/pyluna_extra.cpp /build/source/gui/../core/python/pylunapnr.cpp /build/source/gui/console/commandcompletion.inc ninja: build stopped: subcommand failed. ```