Giter Club home page Giter Club logo

cgra_pnr's People

Contributors

kuree avatar leonardt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cgra_pnr's Issues

Error trying to build in docker?

@Kuree I am debugging an error where the PnR tool says "nothing to be done" when compiling pointwise with the new code generator.

I wanted to download and build the tool so I could change the source code to get a more descriptive error message, but when I do:

git clone https://github.com/Kuree/cgra_pnr.git
./install.sh

I get the error:

file_dir = /GarnetFlow/scripts/cgra_pnr
CMake Error at CMakeLists.txt:37 (add_subdirectory):
  The source directory

    /GarnetFlow/scripts/cgra_pnr/thunder/python/pybind11

  does not contain a CMakeLists.txt file.


CMake Error at CMakeLists.txt:38 (add_subdirectory):
  The source directory

    /GarnetFlow/scripts/cgra_pnr/thunder/lib/leidenalg

  does not contain a CMakeLists.txt file.


CMake Error at python/CMakeLists.txt:2 (pybind11_add_module):
  Unknown CMake command "pybind11_add_module".


-- Configuring incomplete, errors occurred!

Any idea what is wrong?

[request] pythunder/pycyclone wheel for macOS/py38

Installing from source with pip doesn't seem to work with my environment, it looks like I'm missing igraph as a dependency and need too change the C++ compiler (or maybe just flags to ignore the -Werror from clang?).

Simplest would be to distribute a py38 compatible wheel though.

base ❯ pip install archipelago
Processing /Users/lenny/Library/Caches/pip/wheels/40/1b/69/54bffaf9b0e22ab674d22fdd92841a949bfc08b0767d1fd6ac/archipelago-0.0.6-py2.py3-none-any.whl
Collecting pycyclone
  Using cached pycyclone-0.3.25.tar.gz (265 kB)
Collecting pythunder
  Using cached pythunder-0.3.25.tar.gz (316 kB)
Building wheels for collected packages: pycyclone, pythunder
  Building wheel for pycyclone (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/lenny/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/setup.py'"'"'; __file__='"'"'/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-wheel-yi_652fv
       cwd: /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/
  Complete output (145 lines):
  running bdist_wheel
  running build
  running build_ext
  -- The C compiler identification is AppleClang 11.0.0.11000033
  -- The CXX compiler identification is AppleClang 11.0.0.11000033
  -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
  -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
  -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Performing Test UNROLL
  -- Performing Test UNROLL - Failed
  -- Performing Test COMPILER_STATIC
  -- Performing Test COMPILER_STATIC - Failed
  -- Found PythonInterp: /Users/lenny/miniconda3/bin/python (found version "3.8.3")
  -- Found PythonLibs: /Users/lenny/miniconda3/lib/libpython3.8.dylib
  -- pybind11 v2.3.dev0
  -- Performing Test HAS_FLTO
  -- Performing Test HAS_FLTO - Success
  -- LTO enabled
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/build/temp.macosx-10.9-x86_64-3.8
  Scanning dependencies of target cyclone
  [  6%] Building CXX object CMakeFiles/cyclone.dir/src/graph.cc.o
  [ 13%] Building CXX object CMakeFiles/cyclone.dir/src/route.cc.o
  In file included from /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/src/graph.cc:1:
  In file included from /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/src/graph.hh:4:
  In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/set:426:
  In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__tree:16:
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:5: error: destructor called on non-final 'SwitchBoxNode' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor]
      __data_.second().~_Tp();
      ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3671:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<SwitchBoxNode, std::__1::allocator<SwitchBoxNode> >::__on_zero_shared' requested here
          __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
          ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4331:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<SwitchBoxNode, std::__1::allocator<SwitchBoxNode> >::__shared_ptr_emplace<unsigned int &, unsigned int &, unsigned int &, unsigned int &, SwitchBoxSide, SwitchBoxIO>' requested here
      ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                           ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4710:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<SwitchBoxNode>::make_shared<unsigned int &, unsigned int &, unsigned int &, unsigned int &, SwitchBoxSide, SwitchBoxIO>' requested here
      return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                              ^
  /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/src/graph.cc:129:27: note: in instantiation of function template specialization 'std::__1::make_shared<SwitchBoxNode, unsigned int &, unsigned int &, unsigned int &, unsigned int &, SwitchBoxSide, SwitchBoxIO>' requested here
                          ::make_shared<SwitchBoxNode>(x, y, width, i,
                            ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:23: note: qualify call to silence this warning
      __data_.second().~_Tp();
                        ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:5: error: destructor called on non-final 'RegisterNode' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor]
      __data_.second().~_Tp();
      ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3671:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<RegisterNode, std::__1::allocator<RegisterNode> >::__on_zero_shared' requested here
          __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
          ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4331:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<RegisterNode, std::__1::allocator<RegisterNode> >::__shared_ptr_emplace<const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
      ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                           ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4710:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<RegisterNode>::make_shared<const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
      return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                              ^
  /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/src/graph.cc:278:31: note: in instantiation of function template specialization 'std::__1::make_shared<RegisterNode, const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
                              ::make_shared<RegisterNode>(node.name,
                                ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:23: note: qualify call to silence this warning
      __data_.second().~_Tp();
                        ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:5: error: destructor called on non-final 'PortNode' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor]
      __data_.second().~_Tp();
      ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3671:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<PortNode, std::__1::allocator<PortNode> >::__on_zero_shared' requested here
          __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
          ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4331:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<PortNode, std::__1::allocator<PortNode> >::__shared_ptr_emplace<const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
      ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                           ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4710:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<PortNode>::make_shared<const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
      return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                              ^
  /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/src/graph.cc:287:31: note: in instantiation of function template specialization 'std::__1::make_shared<PortNode, const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
                              ::make_shared<PortNode>(node.name, node.x,
                                ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:23: note: qualify call to silence this warning
      __data_.second().~_Tp();
                        ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:5: error: destructor called on non-final 'RegisterMuxNode' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor]
      __data_.second().~_Tp();
      ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3671:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<RegisterMuxNode, std::__1::allocator<RegisterMuxNode> >::__on_zero_shared' requested here
          __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
          ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4331:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<RegisterMuxNode, std::__1::allocator<RegisterMuxNode> >::__shared_ptr_emplace<const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
      ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                           ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4710:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<RegisterMuxNode>::make_shared<const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
      return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                              ^
  /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/src/graph.cc:306:31: note: in instantiation of function template specialization 'std::__1::make_shared<RegisterMuxNode, const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
                              ::make_shared<RegisterMuxNode>(node.name,
                                ^
  /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:23: note: qualify call to silence this warning
      __data_.second().~_Tp();
                        ^
  4 errors generated.
  make[2]: *** [CMakeFiles/cyclone.dir/src/graph.cc.o] Error 1
  make[2]: *** Waiting for unfinished jobs....
  make[1]: *** [CMakeFiles/cyclone.dir/all] Error 2
  make: *** [all] Error 2
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/setup.py", line 73, in <module>
      setup(
    File "/Users/lenny/miniconda3/lib/python3.8/site-packages/setuptools/__init__.py", line 144, in setup
      return distutils.core.setup(**attrs)
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/Users/lenny/miniconda3/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 223, in run
      self.run_command('build')
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/setup.py", line 32, in run
      self.build_extension(ext)
    File "/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/setup.py", line 60, in build_extension
      subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
    File "/Users/lenny/miniconda3/lib/python3.8/subprocess.py", line 364, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j2']' returned non-zero exit status 2.
  ----------------------------------------
  ERROR: Failed building wheel for pycyclone
  Running setup.py clean for pycyclone
  Building wheel for pythunder (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/lenny/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/setup.py'"'"'; __file__='"'"'/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-wheel-olx_d_q9
       cwd: /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/
  Complete output (98 lines):
  running bdist_wheel
  running build
  running build_ext
  -- The C compiler identification is AppleClang 11.0.0.11000033
  -- The CXX compiler identification is AppleClang 11.0.0.11000033
  -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
  -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
  -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Performing Test UNROLL
  -- Performing Test UNROLL - Failed
  -- Performing Test COMPILER_STATIC
  -- Performing Test COMPILER_STATIC - Failed
  -- Performing Test DEPRECATED_COPY
  -- Performing Test DEPRECATED_COPY - Failed
  -- Looking for pthread.h
  -- Looking for pthread.h - found
  -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
  -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
  -- Found Threads: TRUE
  -- Found PythonInterp: /Users/lenny/miniconda3/bin/python (found version "3.8.3")
  -- Found PythonLibs: /Users/lenny/miniconda3/lib/libpython3.8.dylib
  -- pybind11 v2.3.dev0
  -- Found components for IGRAPH
  -- IGRAPH_INCLUDES = /usr/local/include/igraph
  -- IGRAPH_LIBRARIES = /usr/local/lib/libigraph.dylib
  -- IGRAPH_VERSION_STRING_LINE = #define IGRAPH_VERSION "0.8.2"
  -- IGRAPH_VERSION_MAJOR_GUESS = 0
  -- IGRAPH_VERSION_MINOR_GUESS = 8
  -- IGRAPH_VERSION_PATCH_GUESS = 2
  -- Performing Test HAS_FLTO
  -- Performing Test HAS_FLTO - Success
  -- LTO enabled
  --
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/build/temp.macosx-10.9-x86_64-3.8
  Scanning dependencies of target leidenalg
  [  3%] Building CXX object lib/leidenalg/CMakeFiles/leidenalg.dir/src/CPMVertexPartition.cpp.o
  [  6%] Building CXX object lib/leidenalg/CMakeFiles/leidenalg.dir/src/GraphHelper.cpp.o
  In file included from /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/lib/leidenalg/src/GraphHelper.cpp:1:
  /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/lib/leidenalg/include/GraphHelper.h:4:10: fatal error: 'igraph/igraph.h' file not found
  #include <igraph/igraph.h>
           ^~~~~~~~~~~~~~~~~
  In file included from /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/lib/leidenalg/src/CPMVertexPartition.cpp:1:
  In file included from /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/lib/leidenalg/include/CPMVertexPartition.h:4:
  In file included from /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/lib/leidenalg/include/LinearResolutionParameterVertexPartition.h:4:
  In file included from /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/lib/leidenalg/include/ResolutionParameterVertexPartition.h:4:
  In file included from /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/lib/leidenalg/include/MutableVertexPartition.h:5:
  /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/lib/leidenalg/include/GraphHelper.h:4:10: fatal error: 'igraph/igraph.h' file not found
  #include <igraph/igraph.h>
           ^~~~~~~~~~~~~~~~~
  1 error generated.
  make[2]: *** [lib/leidenalg/CMakeFiles/leidenalg.dir/src/GraphHelper.cpp.o] Error 1
  make[2]: *** Waiting for unfinished jobs....
  1 error generated.
  make[2]: *** [lib/leidenalg/CMakeFiles/leidenalg.dir/src/CPMVertexPartition.cpp.o] Error 1
  make[1]: *** [lib/leidenalg/CMakeFiles/leidenalg.dir/all] Error 2
  make: *** [all] Error 2
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/setup.py", line 73, in <module>
      setup(
    File "/Users/lenny/miniconda3/lib/python3.8/site-packages/setuptools/__init__.py", line 144, in setup
      return distutils.core.setup(**attrs)
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/Users/lenny/miniconda3/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 223, in run
      self.run_command('build')
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Users/lenny/miniconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/setup.py", line 32, in run
      self.build_extension(ext)
    File "/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pythunder/setup.py", line 60, in build_extension
      subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
    File "/Users/lenny/miniconda3/lib/python3.8/subprocess.py", line 364, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j2']' returned non-zero exit status 2.
  ----------------------------------------
  ERROR: Failed building wheel for pythunder
  Running setup.py clean for pythunder
Failed to build pycyclone pythunder
Installing collected packages: pycyclone, pythunder, archipelago
    Running setup.py install for pycyclone ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/lenny/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/setup.py'"'"'; __file__='"'"'/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-record-lkgtk90x/install-record.txt --single-version-externally-managed --compile --install-headers /Users/lenny/miniconda3/include/python3.8/pycyclone
         cwd: /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/
    Complete output (147 lines):
    running install
    running build
    running build_ext
    -- The C compiler identification is AppleClang 11.0.0.11000033
    -- The CXX compiler identification is AppleClang 11.0.0.11000033
    -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
    -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
    -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Performing Test UNROLL
    -- Performing Test UNROLL - Failed
    -- Performing Test COMPILER_STATIC
    -- Performing Test COMPILER_STATIC - Failed
    -- Found PythonInterp: /Users/lenny/miniconda3/bin/python (found version "3.8.3")
    -- Found PythonLibs: /Users/lenny/miniconda3/lib/libpython3.8.dylib
    -- pybind11 v2.3.dev0
    -- Performing Test HAS_FLTO
    -- Performing Test HAS_FLTO - Success
    -- LTO enabled
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/build/temp.macosx-10.9-x86_64-3.8
    Scanning dependencies of target cyclone
    [  6%] Building CXX object CMakeFiles/cyclone.dir/src/graph.cc.o
    [ 13%] Building CXX object CMakeFiles/cyclone.dir/src/route.cc.o
    In file included from /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/src/graph.cc:1:
    In file included from /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/src/graph.hh:4:
    In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/set:426:
    In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__tree:16:
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:5: error: destructor called on non-final 'SwitchBoxNode' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor]
        __data_.second().~_Tp();
        ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3671:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<SwitchBoxNode, std::__1::allocator<SwitchBoxNode> >::__on_zero_shared' requested here
            __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
            ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4331:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<SwitchBoxNode, std::__1::allocator<SwitchBoxNode> >::__shared_ptr_emplace<unsigned int &, unsigned int &, unsigned int &, unsigned int &, SwitchBoxSide, SwitchBoxIO>' requested here
        ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                             ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4710:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<SwitchBoxNode>::make_shared<unsigned int &, unsigned int &, unsigned int &, unsigned int &, SwitchBoxSide, SwitchBoxIO>' requested here
        return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                                ^
    /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/src/graph.cc:129:27: note: in instantiation of function template specialization 'std::__1::make_shared<SwitchBoxNode, unsigned int &, unsigned int &, unsigned int &, unsigned int &, SwitchBoxSide, SwitchBoxIO>' requested here
                            ::make_shared<SwitchBoxNode>(x, y, width, i,
                              ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:23: note: qualify call to silence this warning
        __data_.second().~_Tp();
                          ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:5: error: destructor called on non-final 'RegisterNode' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor]
        __data_.second().~_Tp();
        ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3671:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<RegisterNode, std::__1::allocator<RegisterNode> >::__on_zero_shared' requested here
            __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
            ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4331:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<RegisterNode, std::__1::allocator<RegisterNode> >::__shared_ptr_emplace<const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
        ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                             ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4710:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<RegisterNode>::make_shared<const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
        return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                                ^
    /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/src/graph.cc:278:31: note: in instantiation of function template specialization 'std::__1::make_shared<RegisterNode, const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
                                ::make_shared<RegisterNode>(node.name,
                                  ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:23: note: qualify call to silence this warning
        __data_.second().~_Tp();
                          ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:5: error: destructor called on non-final 'PortNode' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor]
        __data_.second().~_Tp();
        ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3671:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<PortNode, std::__1::allocator<PortNode> >::__on_zero_shared' requested here
            __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
            ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4331:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<PortNode, std::__1::allocator<PortNode> >::__shared_ptr_emplace<const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
        ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                             ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4710:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<PortNode>::make_shared<const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
        return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                                ^
    /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/src/graph.cc:287:31: note: in instantiation of function template specialization 'std::__1::make_shared<PortNode, const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
                                ::make_shared<PortNode>(node.name, node.x,
                                  ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:23: note: qualify call to silence this warning
        __data_.second().~_Tp();
                          ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:5: error: destructor called on non-final 'RegisterMuxNode' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor]
        __data_.second().~_Tp();
        ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3671:9: note: in instantiation of member function 'std::__1::__shared_ptr_emplace<RegisterMuxNode, std::__1::allocator<RegisterMuxNode> >::__on_zero_shared' requested here
            __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
            ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4331:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<RegisterMuxNode, std::__1::allocator<RegisterMuxNode> >::__shared_ptr_emplace<const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
        ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                             ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:4710:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<RegisterMuxNode>::make_shared<const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
        return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                                ^
    /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/src/graph.cc:306:31: note: in instantiation of function template specialization 'std::__1::make_shared<RegisterMuxNode, const std::__1::basic_string<char> &, const unsigned int &, const unsigned int &, const unsigned int &, const unsigned int &>' requested here
                                ::make_shared<RegisterMuxNode>(node.name,
                                  ^
    /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:3710:23: note: qualify call to silence this warning
        __data_.second().~_Tp();
                          ^
    4 errors generated.
    make[2]: *** [CMakeFiles/cyclone.dir/src/graph.cc.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[1]: *** [CMakeFiles/cyclone.dir/all] Error 2
    make: *** [all] Error 2
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/setup.py", line 73, in <module>
        setup(
      File "/Users/lenny/miniconda3/lib/python3.8/site-packages/setuptools/__init__.py", line 144, in setup
        return distutils.core.setup(**attrs)
      File "/Users/lenny/miniconda3/lib/python3.8/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/Users/lenny/miniconda3/lib/python3.8/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/Users/lenny/miniconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/Users/lenny/miniconda3/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/Users/lenny/miniconda3/lib/python3.8/distutils/command/install.py", line 545, in run
        self.run_command('build')
      File "/Users/lenny/miniconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Users/lenny/miniconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/Users/lenny/miniconda3/lib/python3.8/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/Users/lenny/miniconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Users/lenny/miniconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/setup.py", line 32, in run
        self.build_extension(ext)
      File "/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/setup.py", line 60, in build_extension
        subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
      File "/Users/lenny/miniconda3/lib/python3.8/subprocess.py", line 364, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j2']' returned non-zero exit status 2.
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/lenny/miniconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/setup.py'"'"'; __file__='"'"'/private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-install-iem70wds/pycyclone/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/hq/hm6_zxqn1jq6xxj_f2fghc7m0000gn/T/pip-record-lkgtk90x/install-record.txt --single-version-externally-managed --compile --install-headers /Users/lenny/miniconda3/include/python3.8/pycyclone Check the logs for full command output.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.