Skip to content

This Repository Contains Source Code for the Burq-ide project

License

Notifications You must be signed in to change notification settings

faahmed123/BURQ-IDE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BURQ

BURQ-IDE

This Repository Contains Source Code for the Burq-ide project

Prerequesties

1.Python and C compiler 
2.GCC shown below in the readme file on how to clone it
3.Risc-V based core the ide does have base cores for testing but you will need to add your's for full functionality 
4.A debain based OS (linux mint or ubuntu or some other you know)

Start the IDE

1.Run the ./install.sh file to install all dependencies the python LightW.py needs including the QtermWidget.
2.Run the Launcher.py to run  the IDE and you are good to go 

Mannual Compilation

The rxvt-unicode terminal has been removed from the project because of its rescaling issue and is replaced by QTermWidget which is further changed to qterminal But in order to use it some libraries and pre-compilation is required.

  1. sudo -H pip3 install -U pyqt5 pyqtwebengine
  2. sudo apt install python3-sip-dev python3-pyqt5
  3. You would need to compile certain element like Pyqt as its extending libraries like sip won't reconginize it when building

Root compilation

  1. start by typing sudo -i in the terminal
  2. Then execute these commands (This may take 30 to 90 minutes depending on your machine and internet connection)
Before doing anything in the root set your python dependencies to python3 
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10

sudo apt-get update && apt-get install \
    -y --no-install-recommends \
    build-essential \
    git \
    ca-certificates \
    wget \
    cmake \
    pkg-config \
    python3-dev \
    libglib2.0-dev \
    qt5-default \
    qttools5-dev

mkdir -p /tmp/EAF

cd /tmp/EAF && \
    git clone https://github.com/lxqt/lxqt-build-tools.git \
    && cd lxqt-build-tools \
    && mkdir build && cd build \
    && cmake .. \
    && make && sudo make install

cd /tmp/EAF && \
    wget https://www.riverbankcomputing.com/static/Downloads/sip/sip-6.0.2.dev2102091232.tar.gz && \
    tar xvzf sip-6.0.2.dev2102091232.tar.gz&& \
    cd sip-6.0.2.dev2102091232 && \
    python3 configure.py --sip-module PyQt5.sip && \
    make && \
    sudo make install

cd /tmp/EAF && \
    wget https://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt5-5.15.3.dev2102091740.tar.gz && \
    tar xvzf PyQt5-5.15.3.dev2102091740.tar.gz && \
    cd PyQt5-5.15.3.dev2102091740 && \
    python3 configure.py --confirm-license && \
    make && \
    sudo make install

    

  1. Then you are good to go

First some prerequesties

  1. sudo apt-get install gtkwave
  2. sudo apt-get install git
  3. sudo apt-get install make
  4. sudo apt-get update
  5. sudo apt-get upgrade
  6. sudo apt-get install gcc # not cross
  7. sudo apt-get install g++
  8. sudo apt-get install make
  9. sudo apt-get install bison
  10. sudo apt-get install flex
  11. sudo apt-get install gawk
  12. sudo apt-get install libgmp3-dev
  13. sudo apt-get install libmpfr-dev libmpfr-doc libmpfr4 libmpfr4-dbg #This may or maynot work as the mirror seems missing
  14. sudo apt-get install mpc
  15. sudo apt-get install texinfo # optional
  16. sudo apt-get install libcloog-isl-dev # optional
  17. sudo apt-get install build-essential #This may or maynot work as the mirror seems missing
  18. sudo apt-get install glibc-devel #This may or maynot work as the mirror seems missing
  19. sudo apt-get -y install gcc-multilib libc6-i386 #This may or maynot work as the mirror seems missing
  20. sudo apt install Zlib #This may or maynot work as the mirror seems missing
  21. sudo apt-get install tree
  22. pip3 install sip

Cloning the GCC COMPILER

  1. open your terminal and write cd ~
  2. write sudo -i and write your password now you are on your root directory
  3. Now create a folder by using mkdir build the go to the directory using the command cd /build. 4 .Now write another command on terminal git clone --recursive https://github.com/riscv/riscv-gnu-toolchain it will take half an hour approx or maybe more depending on your machine and internet connection.
  4. after cloning riscv-gnu-toolchain a folder name as riscv-gnu-toolchain created in your root director no go to in that folder by using this command cd /build/riscv-gnu-toolchain/
  5. Now create another folder or directory inside riscv-gnu-toolchain folder by using this command mkdir build now go inside this folder by writing cd build.
  6. Now write this command on your command line ../configure --prefix=/opt/riscv32 --with-arch=rv32im --with-abi=ilp32 it will take few minutes.
  7. Now type make on your command line it will take more than half an hour or more depending on your machine.
  8. after running the make command you have to make sure that the files or directory i am providing you below must be in your PC you can check it by writing ls $ ls build-binutils-newlib build-gcc-newlib-stage2 build-newlib config.log install-newlib-nano scripts build-gcc-newlib-stage1 build-gdb-newlib build-newlib-nano config.status Makefile stamps make sure these 12 directory must be in your pc.
  9. Now finally write this command on your command line tree -L 3 -d

Congratulations! you are done with your cloning process.

About

This Repository Contains Source Code for the Burq-ide project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 65.9%
  • C++ 25.9%
  • Jupyter Notebook 4.4%
  • Scala 1.9%
  • SystemVerilog 0.8%
  • XSLT 0.6%
  • Other 0.5%