-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Branch] 4th Place -- Team Cuckoo (Peking University) (#93)
* Add OpenPARF submodule Signed-off-by: Eddie Hung <[email protected]> * Update Makefile and add new cuckoo_container.def Signed-off-by: Eddie Hung <[email protected]> * Tidy Signed-off-by: Eddie Hung <[email protected]> * Fix CI Signed-off-by: Eddie Hung <[email protected]> * Package xcvu3p.device in submission Signed-off-by: Eddie Hung <[email protected]> * Update README.md --------- Signed-off-by: Eddie Hung <[email protected]>
- Loading branch information
1 parent
707f0da
commit a735b65
Showing
7 changed files
with
89 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
BootStrap: docker | ||
From: eclipse-temurin:17 # Base image with Java VM 17 on Ubuntu | ||
|
||
%setup | ||
mkdir $APPTAINER_ROOTFS/OpenPARF | ||
|
||
%files | ||
## Example copy of /dir1 into /opt inside container | ||
#/dir1 /opt | ||
|
||
%post | ||
# Install remaining system dependencies | ||
apt-get -y update | ||
apt-get -y install git python3 pip pkg-config time libtinfo5 | ||
|
||
# Install capnp-0.10.2 since that's the exact version used to generate OpenPARF's parsing code | ||
mkdir /capnp | ||
cd /capnp | ||
curl -O https://capnproto.org/capnproto-c++-0.10.2.tar.gz | ||
tar zxf capnproto-c++-0.10.2.tar.gz | ||
cd capnproto-c++-0.10.2 | ||
./configure | ||
make install | ||
|
||
apt-get -y install cmake libopenblas-dev libboost-filesystem-dev libboost-program-options-dev | ||
|
||
cd /OpenPARF/fpga24contest | ||
rm -rf build | ||
mkdir build | ||
cd build | ||
cmake ../src -DCMAKE_BUILD_TYPE=Release | ||
make | ||
|
||
%environment | ||
# Add the host Vivado to the path | ||
export PATH=$PATH:/tools/Xilinx/Vivado/2022.2/bin/ |