changed python to python3 in bash scripts

This commit is contained in:
Nicolas 2025-10-14 23:06:34 +02:00
parent 1a8a738640
commit 963976fe90
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ set -v
mkdir -p bin mkdir -p bin
SRC=bin/stencils.c SRC=bin/stencils.c
DEST=src/copapy/obj DEST=src/copapy/obj
python tools/generate_stencils.py $SRC python3 tools/generate_stencils.py $SRC
mkdir -p $DEST mkdir -p $DEST
gcc --version gcc --version
#gcc -c $SRC -O0 -o $DEST/stencils_x86_64_O0.o #gcc -c $SRC -O0 -o $DEST/stencils_x86_64_O0.o

View File

@ -2,6 +2,6 @@
source tools/build.sh source tools/build.sh
objdump -d -x src/copapy/obj/stencils_x86_64_O3.o > bin/stencils_x86_64_O3.asm objdump -d -x src/copapy/obj/stencils_x86_64_O3.o > bin/stencils_x86_64_O3.asm
python tools/make_example.py python3 tools/make_example.py
python tools/extract_code.py "bin/test.copapy" "bin/test.copapy.bin" python3 tools/extract_code.py "bin/test.copapy" "bin/test.copapy.bin"
objdump -D -b binary -m i386:x86-64 --adjust-vma=0x1000 bin/test.copapy.bin > bin/test.copapy.asm objdump -D -b binary -m i386:x86-64 --adjust-vma=0x1000 bin/test.copapy.bin > bin/test.copapy.asm