PrincetonUniversity / ILAng

A Modeling and Verification Platform for SoCs using ILAs
https://bo-yuan-huang.gitbook.io/ilang/
MIT License
75 stars 18 forks source link

Docker build fail due to CoSA (CoreIR) build error #105

Closed Bo-Yuan-Huang closed 5 years ago

Bo-Yuan-Huang commented 5 years ago

Describe the bug ILAng docker image build fails during CI check while building CoSA.

To Reproduce Steps to reproduce the behavior:

  1. cd /path/to/CoSA
  2. pip3 install -e .
  3. ERROR: Failed building wheel for gmpy2

Environment (please complete the following information):

Additional context

Bo-Yuan-Huang commented 5 years ago

https://github.com/cristian-mattarei/CoSA

Bo-Yuan-Huang commented 5 years ago
In file included from src/gmpy2.c:426:0:
src/gmpy.h:106:12: fatal error: gmp.h: No such file or directory
#  include "gmp.h" 
           ^~~~~~~ 
compilation terminated. 
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 
---------------------------------------- 
Failed building wheel for gmpy2  
Running setup.py clean for gmpy2