cambridgehackers / connectal

Connectal is a framework for software-driven hardware development.
MIT License
161 stars 46 forks source link

fix dma_buf_export for kernel version 3.10.0 #131

Closed tudang closed 7 years ago

tudang commented 7 years ago
  1. Checking if libgmp.so.3 before cloning libgmp.so.10 in Makefile.
  2. The current kernel version of Centos 7 is 3.10.0 in which dma_buf_export only takes a single argument.
tudang commented 7 years ago

Installing Bluespec on Centos 7 requires the following packages: sudo yum install gmp glibc-devel autoconf gperf compat-libstdc++-33

yum couldn't find iverilog package, so we have to build iverilog from source:

git clone https://github.com/steveicarus/iverilog.git
cd iverilog
sh autoconf.sh
./configure
make
sudo make install

Link libgmp.so.3 if needed: sudo ln -s /usr/lib64/libgmp.so.10 /usr/lib64/libgmp.so.3

tudang commented 7 years ago

@jameyhicks I've added more branches for choosing the right version of dma_buf_export according to the host kernel version.