Add basic build scripts
This commit is contained in:
13
Modulefile
Normal file
13
Modulefile
Normal file
@@ -0,0 +1,13 @@
|
||||
#%Module######################################################################
|
||||
##
|
||||
## Project Module
|
||||
##
|
||||
proc ModulesHelp { } {
|
||||
puts stderr "\tThe TGC-HAMMER Project Module\n"
|
||||
puts stderr "\tThis module loads PATHs and variables for Longnail and SCAIE-V."
|
||||
}
|
||||
|
||||
prereq tools/sdkman/java
|
||||
prereq tools/sdkman/mvn
|
||||
prereq tools/cmake
|
||||
prereq tools/python
|
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# TGC Hammer
|
||||
|
||||
This is TGC-Hammer, the HLS flow for custom ISA-Extensions.
|
10
scripts/build_longnail.sh
Executable file
10
scripts/build_longnail.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
pushd deps/longnail
|
||||
|
||||
git submodule update --init --recursive --depth 1
|
||||
OR_TOOLS_VER="9.11" ./build_deps.sh
|
||||
./build_circt.sh
|
||||
./build_longnail.sh
|
||||
|
||||
popd
|
7
scripts/build_scaie-v.sh
Executable file
7
scripts/build_scaie-v.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
pushd deps/scaie-v
|
||||
|
||||
mvn package
|
||||
|
||||
popd
|
9
scripts/build_treenail.sh
Executable file
9
scripts/build_treenail.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
pushd deps/treenail
|
||||
|
||||
git submodule update --init
|
||||
./gradlew build
|
||||
./gradlew install
|
||||
|
||||
popd
|
Reference in New Issue
Block a user