Skip to content

Commit 90d8fb3

Browse files
authored
* Bump libraries
* Fix scripts
1 parent 8a3905c commit 90d8fb3

File tree

9 files changed

+15
-10
lines changed

9 files changed

+15
-10
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2")
77
# Kakadu SDK support
88

99
find_path(KDU_INCLUDE_DIR kdu_args.h PATH_SUFFIXES kakadu)
10-
find_library(KDU_LIBRARY NAMES libkdu_a82R)
10+
find_library(KDU_LIBRARY NAMES kdu_a84R)
1111

1212
if(KDU_INCLUDE_DIR AND KDU_LIBRARY)
1313
set(KDU_PRESENT 1)
1414
message("Kakadu SDK found: ${KDU_LIBRARY} and ${KDU_INCLUDE_DIR}")
1515
include_directories(${KDU_INCLUDE_DIR})
1616
else()
17-
message("Kakadu SDK not found.")
17+
message("Kakadu SDK not found: ${KDU_LIBRARY} and ${KDU_INCLUDE_DIR}.")
1818
endif()
1919

2020
# OpenJPH support

ext/OpenJPH

Submodule OpenJPH updated 78 files

ext/ffmpeg

Submodule ffmpeg updated 3574 files

script/build.sh

+7-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@ set -e
55

66
APP_DIR=~
77
IMAGES_DIR=$APP_DIR/images/
8-
IMAGES_S3_BUCKET=s3://libench/images
8+
IMAGES_S3_BUCKET=s3://libench-images
99
WWW_S3_BUCKET=s3://libench-website/
1010
CODE_REPO=https://github.com/sandflow/libench.git
1111
CODE_DIR=$APP_DIR/libench
1212
BUILD_DIR=$CODE_DIR/build
1313

14+
COMPILER_STRING=$(gcc --version | head -1)
15+
VERSION_STRING=$(git rev-parse HEAD)
16+
MACHINE_STRING=$(uname -r -v -m -p -i -o)
17+
1418
# build libench
1519

1620
git clone --recurse-submodules $CODE_REPO $CODE_DIR
@@ -36,7 +40,8 @@ aws s3 sync $IMAGES_S3_BUCKET .
3640
# run benchmark
3741

3842
cd $CODE_DIR
39-
python3 src/main/python/make_page.py $IMAGES_DIR/manifest.json $BUILD_DIR/www
43+
python3 src/main/python/make_page.py $IMAGES_DIR --build_path $BUILD_DIR/www \
44+
--version "$VERSION_STRING" --machine "$MACHINE_STRING" --compiler "$COMPILER_STRING"
4045

4146
# upload website
4247

script/run.sh

100644100755
File mode changed.

src/main/python/make_page.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def run_perf_tests(root_path: str, bin_path: str) -> typing.List[Result]:
210210

211211
except (json.decoder.JSONDecodeError, subprocess.CalledProcessError):
212212
print("x", end="")
213-
#raise
213+
raise
214214

215215
print()
216216

0 commit comments

Comments
 (0)