Skip to content

Commit b02c8d7

Browse files
committed
fix: add custom abstract machine in dep libs
1 parent a8bafc4 commit b02c8d7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

rtl/scripts/setup.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ configYsyxSoftwareFile() {
3434
# download the am repo from the github
3535
###### abstract-machine ######
3636
configAbstractMachine() {
37+
configYsyxSoftwareFile
38+
3739
mkdir -p ${AM_FOLDER_PATH}
3840
cd ${AM_FOLDER_PATH}
3941
if [[ -d ${ABSTRACT_MACHINE_FOLDER_PATH} ]]; then
@@ -44,8 +46,10 @@ configAbstractMachine() {
4446
# git clone https://github.com/NJU-ProjectN/abstract-machine.git
4547
# fi
4648
else
47-
echo -e "${INFO}[no download]: git clone...${END}"
48-
git clone https://github.com/NJU-ProjectN/abstract-machine.git
49+
echo -e "${INFO}[no exist] copy...${END}"
50+
cp -rf ${YSYX_SOFTWARE_FILE_PATH}/abstract-machine ./
51+
# echo -e "${INFO}[no download]: git clone...${END}"
52+
# git clone https://github.com/NJU-ProjectN/abstract-machine.git
4953
fi
5054

5155
cd ${ABSTRACT_MACHINE_FOLDER_PATH}

0 commit comments

Comments
 (0)