mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
minor update
This commit is contained in:
parent
95b23fa97b
commit
dbe052594d
2 changed files with 3 additions and 2 deletions
|
@ -39,7 +39,8 @@ install:
|
|||
cp -r third_party $HOME;
|
||||
echo "v0" > "$HOME/third_party/version.txt";
|
||||
else
|
||||
cp -r $HOME/third_party .;
|
||||
rm -rf $TRAVIS_BUILD_DIR/third_party;
|
||||
cp -r $HOME/third_party $TRAVIS_BUILD_DIR;
|
||||
fi
|
||||
|
||||
before_script:
|
||||
|
|
|
@ -23,7 +23,7 @@ import re
|
|||
def get_vma_size(elf_file):
|
||||
try:
|
||||
cmd = ['readelf', '-l', elf_file]
|
||||
process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
||||
process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
|
||||
output, errors = process.communicate()
|
||||
if process.returncode != 0:
|
||||
print("Error running readelf: {}".format(errors.strip()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue