Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathis Rosenhauer
libaec
Commits
1a1a1859
Commit
1a1a1859
authored
Jul 15, 2014
by
Mathis Rosenhauer
Browse files
Add benchmake target.
parent
67ed6521
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
1a1a1859
...
...
@@ -14,6 +14,7 @@ target_link_libraries(sz aec)
add_executable
(
aec_client aec.c
)
set_target_properties
(
aec_client PROPERTIES OUTPUT_NAME
"aec"
)
target_link_libraries
(
aec_client aec
)
add_executable
(
utime EXCLUDE_FROM_ALL utime.c
)
install
(
FILES libaec.h szlib.h DESTINATION include
)
install
(
TARGETS aec sz
...
...
tests/CMakeLists.txt
View file @
1a1a1859
...
...
@@ -18,3 +18,9 @@ add_dependencies(check
check_code_options
check_buffer_sizes
check_long_fs
)
add_custom_target
(
bench
COMMAND
${
CMAKE_SOURCE_DIR
}
/tests/benc.sh
COMMAND
${
CMAKE_SOURCE_DIR
}
/tests/bdec.sh
DEPENDS aec_client utime
)
\ No newline at end of file
tests/benc.sh
View file @
1a1a1859
...
...
@@ -2,7 +2,8 @@
set
-e
AEC
=
../src/aec
if
[
!
-f
typical.rz
]
;
then
if
[
!
-f
typical.dat
]
;
then
rm
-f
typical.rz
wget https://www.dkrz.de/redmine/attachments/download/442/typical.rz
$AEC
-d
-n16
-j64
-r256
-m
-c
typical.rz
>
typical.dat
rm
-f
bench.dat
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment