줄바꿈을 LF로 통일
서버에서 바로 빌드하고 고칠 수 있게 저장소 줄바꿈을 LF로 맞췄습니다. CRLF로 들어가 있던 sh 빌드 스크립트도 이제 리눅스에서 그대로 돌아갑니다. 내용은 바뀌지 않았습니다.
This commit is contained in:
1 parent
40615838ac
commit
2d48091205
623 files changed
+501372
-501365
No files matched your search
+10
-10
@@ -1,10 +1,10 @@
|
||||
#!/bin/bash
|
||||
# setup: cp * /tmp/jf; cd /tmp/jf; gcc -O1 -o ref ref.c <studio>/ab/src/core/avr.c; cp <studio>/ab/ab.bin <studio>/ab/src/app/ab.elf /tmp/jf (KEEPELF=1 build)
|
||||
# run.sh seed: compare host interpreter and the device JIT (Unicorn)
|
||||
s=$1; d=/tmp/jf/w$s${2:+_$2}; mkdir -p $d; cd /tmp/jf
|
||||
python3 gen.py $s $d/p.hex $2
|
||||
./ref $d/p.hex.bin > $d/ref.txt
|
||||
cd /home/claude/studio/ab/test
|
||||
python3 mkimg.py /tmp/jf/ab.bin $d/p.hex $d/img.bin
|
||||
OUT=$d DUMP="g_mem+256:96,g_mem+512:64" python3 devab.py /tmp/jf/ab.elf $d/img.bin 40 2>&1 | grep DUMP | awk '{print $3}' > $d/jit.txt
|
||||
if python3 /tmp/jf/same.py $d; then echo "seed $s ok"; rm -rf $d; else echo "seed $s DIFF"; fi
|
||||
#!/bin/bash
|
||||
# setup: cp * /tmp/jf; cd /tmp/jf; gcc -O1 -o ref ref.c <studio>/ab/src/core/avr.c; cp <studio>/ab/ab.bin <studio>/ab/src/app/ab.elf /tmp/jf (KEEPELF=1 build)
|
||||
# run.sh seed: compare host interpreter and the device JIT (Unicorn)
|
||||
s=$1; d=/tmp/jf/w$s${2:+_$2}; mkdir -p $d; cd /tmp/jf
|
||||
python3 gen.py $s $d/p.hex $2
|
||||
./ref $d/p.hex.bin > $d/ref.txt
|
||||
cd /home/claude/studio/ab/test
|
||||
python3 mkimg.py /tmp/jf/ab.bin $d/p.hex $d/img.bin
|
||||
OUT=$d DUMP="g_mem+256:96,g_mem+512:64" python3 devab.py /tmp/jf/ab.elf $d/img.bin 40 2>&1 | grep DUMP | awk '{print $3}' > $d/jit.txt
|
||||
if python3 /tmp/jf/same.py $d; then echo "seed $s ok"; rm -rf $d; else echo "seed $s DIFF"; fi
|
||||
Reference in new issue
Block a user