new : ARM tests with Qemu user-mode
This commit is contained in:
parent
4f0a3931c8
commit
648959a9ed
@ -7,6 +7,9 @@ before_install:
|
|||||||
- sudo apt-get install -qq g++-multilib
|
- sudo apt-get install -qq g++-multilib
|
||||||
- sudo apt-get install -qq gcc-multilib
|
- sudo apt-get install -qq gcc-multilib
|
||||||
- sudo apt-get install -qq valgrind
|
- sudo apt-get install -qq valgrind
|
||||||
|
- sudo apt-get install -qq qemu
|
||||||
|
- sudo apt-get install -qq binfmt-support
|
||||||
|
- sudo apt-get install -qq qemu-user-static
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- ZSTD_TRAVIS_CI_ENV=travis-install
|
- ZSTD_TRAVIS_CI_ENV=travis-install
|
||||||
|
7
Makefile
7
Makefile
@ -1,6 +1,6 @@
|
|||||||
# ################################################################
|
# ################################################################
|
||||||
# zstd - Makefile
|
# zstd - Makefile
|
||||||
# Copyright (C) Yann Collet 2014-2015
|
# Copyright (C) Yann Collet 2014-2016
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# BSD license
|
# BSD license
|
||||||
@ -93,8 +93,9 @@ gpptest: clean
|
|||||||
$(MAKE) all CC=g++ CFLAGS="-O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror"
|
$(MAKE) all CC=g++ CFLAGS="-O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror"
|
||||||
|
|
||||||
armtest: clean
|
armtest: clean
|
||||||
$(MAKE) -C $(ZSTDDIR) all CC=arm-linux-gnueabi-gcc MOREFLAGS="-Werror"
|
# $(MAKE) -C $(ZSTDDIR) all CC=arm-linux-gnueabi-gcc MOREFLAGS="-Werror"
|
||||||
$(MAKE) -C $(PRGDIR) CC=arm-linux-gnueabi-gcc MOREFLAGS="-Werror -static"
|
$(MAKE) -C $(PRGDIR) datagen # use native, faster
|
||||||
|
$(MAKE) -C $(PRGDIR) test CC=arm-linux-gnueabi-gcc MOREFLAGS=-static # MOREFLAGS="-Werror -static"
|
||||||
|
|
||||||
usan: clean
|
usan: clean
|
||||||
$(MAKE) test CC=clang MOREFLAGS="-g -fsanitize=undefined"
|
$(MAKE) test CC=clang MOREFLAGS="-g -fsanitize=undefined"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# ##########################################################################
|
# ##########################################################################
|
||||||
# ZSTD programs - Makefile
|
# ZSTD programs - Makefile
|
||||||
# Copyright (C) Yann Collet 2015
|
# Copyright (C) Yann Collet 2015-2016
|
||||||
#
|
#
|
||||||
# GPL v2 License
|
# GPL v2 License
|
||||||
#
|
#
|
||||||
@ -19,13 +19,14 @@
|
|||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
#
|
#
|
||||||
# You can contact the author at :
|
# You can contact the author at :
|
||||||
# - ZSTD source repository : http://code.google.com/p/zstd/
|
# - zstd homepage : http://www.zstd.net/
|
||||||
# - Public forum : https://groups.google.com/forum/#!forum/lz4c
|
|
||||||
# ##########################################################################
|
# ##########################################################################
|
||||||
# zstd : Command Line Utility, supporting gzip-like arguments
|
# zstd : Command Line Utility, supporting gzip-like arguments
|
||||||
# datagen : Synthetic and parametrable data generator, for tests
|
# datagen : Synthetic and parametrable data generator, for tests
|
||||||
# fuzzer : Test tool, to check zstd integrity on target platform
|
# fuzzer : Test tool, to check zstd integrity on target platform
|
||||||
# fuzzer32: Same as fuzzer, but forced to compile in 32-bits mode
|
# fuzzer32: Same as fuzzer, but forced to compile in 32-bits mode
|
||||||
|
# zbufftest : Test tool, to check ZBUFF integrity on target platform
|
||||||
|
# zbufftest32: Same as zbufftest, but forced to compile in 32-bits mode
|
||||||
# fullbench : Precisely measure speed for each zstd inner function
|
# fullbench : Precisely measure speed for each zstd inner function
|
||||||
# fullbench32: Same as fullbench, but forced to compile in 32-bits mode
|
# fullbench32: Same as fullbench, but forced to compile in 32-bits mode
|
||||||
# ##########################################################################
|
# ##########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user