mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-01-03 13:44:27 +01:00
Improve openssl test N1
Improve openssl test N1 Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
b3a6969256
commit
5eee846afc
26
.github/workflows/main.yml
vendored
26
.github/workflows/main.yml
vendored
@ -152,14 +152,14 @@ jobs:
|
|||||||
stockfish: "yes",
|
stockfish: "yes",
|
||||||
stockfish_arg: "ARCH=x86-64-modern",
|
stockfish_arg: "ARCH=x86-64-modern",
|
||||||
openssl: "yes",
|
openssl: "yes",
|
||||||
openssl_arg: "linux-generic64",
|
openssl_arg: "linux-generic64 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
image: "linux-x64-clang",
|
image: "linux-x64-clang",
|
||||||
stockfish: "yes",
|
stockfish: "yes",
|
||||||
stockfish_arg: "ARCH=x86-64-modern COMP=clang",
|
stockfish_arg: "ARCH=x86-64-modern COMP=clang",
|
||||||
openssl: "yes",
|
openssl: "yes",
|
||||||
openssl_arg: "linux-x86-clang",
|
openssl_arg: "linux-x86_64-clang",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
image: "linux-x86_64-full",
|
image: "linux-x86_64-full",
|
||||||
@ -197,7 +197,7 @@ jobs:
|
|||||||
stockfish: "no",
|
stockfish: "no",
|
||||||
stockfish_arg: "",
|
stockfish_arg: "",
|
||||||
openssl: "yes",
|
openssl: "yes",
|
||||||
openssl_arg: "linux64-mips64",
|
openssl_arg: "linux-generic32",
|
||||||
}
|
}
|
||||||
# Linux ppc64le images
|
# Linux ppc64le images
|
||||||
- {
|
- {
|
||||||
@ -213,7 +213,7 @@ jobs:
|
|||||||
stockfish: "no",
|
stockfish: "no",
|
||||||
stockfish_arg: "",
|
stockfish_arg: "",
|
||||||
openssl: "yes",
|
openssl: "yes",
|
||||||
openssl_arg: "linux-generic32",
|
openssl_arg: "linux-generic32 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso",
|
||||||
}
|
}
|
||||||
# Linux xtensa images
|
# Linux xtensa images
|
||||||
- {
|
- {
|
||||||
@ -221,7 +221,7 @@ jobs:
|
|||||||
stockfish: "no",
|
stockfish: "no",
|
||||||
stockfish_arg: "",
|
stockfish_arg: "",
|
||||||
openssl: "yes",
|
openssl: "yes",
|
||||||
openssl_arg: "linux-generic64",
|
openssl_arg: "linux-generic64 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso",
|
||||||
}
|
}
|
||||||
# Windows x86_x64 images
|
# Windows x86_x64 images
|
||||||
- {
|
- {
|
||||||
@ -229,28 +229,28 @@ jobs:
|
|||||||
stockfish: "yes",
|
stockfish: "yes",
|
||||||
stockfish_arg: "ARCH=x86-64-modern COMP=mingw",
|
stockfish_arg: "ARCH=x86-64-modern COMP=mingw",
|
||||||
openssl: "yes",
|
openssl: "yes",
|
||||||
openssl_arg: "mingw64",
|
openssl_arg: "mingw64 no-asm",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
image: "windows-static-x64-posix",
|
image: "windows-static-x64-posix",
|
||||||
stockfish: "yes",
|
stockfish: "yes",
|
||||||
stockfish_arg: "ARCH=x86-64-modern COMP=mingw",
|
stockfish_arg: "ARCH=x86-64-modern COMP=mingw",
|
||||||
openssl: "yes",
|
openssl: "yes",
|
||||||
openssl_arg: "mingw64",
|
openssl_arg: "mingw64 no-asm",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
image: "windows-shared-x64",
|
image: "windows-shared-x64",
|
||||||
stockfish: "no",
|
stockfish: "no",
|
||||||
stockfish_arg: "",
|
stockfish_arg: "",
|
||||||
openssl: "yes",
|
openssl: "yes",
|
||||||
openssl_arg: "mingw64",
|
openssl_arg: "mingw64 no-asm",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
image: "windows-shared-x64-posix",
|
image: "windows-shared-x64-posix",
|
||||||
stockfish: "no",
|
stockfish: "no",
|
||||||
stockfish_arg: "",
|
stockfish_arg: "",
|
||||||
openssl: "yes",
|
openssl: "yes",
|
||||||
openssl_arg: "mingw64",
|
openssl_arg: "mingw64 no-asm",
|
||||||
}
|
}
|
||||||
# Windows x86 images
|
# Windows x86 images
|
||||||
- {
|
- {
|
||||||
@ -258,14 +258,14 @@ jobs:
|
|||||||
stockfish: "yes",
|
stockfish: "yes",
|
||||||
stockfish_arg: "ARCH=x86-32-sse41-popcnt COMP=mingw",
|
stockfish_arg: "ARCH=x86-32-sse41-popcnt COMP=mingw",
|
||||||
openssl: "yes",
|
openssl: "yes",
|
||||||
openssl_arg: "",
|
openssl_arg: "mingw no-asm",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
image: "windows-shared-x86",
|
image: "windows-shared-x86",
|
||||||
stockfish: "no",
|
stockfish: "no",
|
||||||
stockfish_arg: "",
|
stockfish_arg: "",
|
||||||
openssl: "yes",
|
openssl: "yes",
|
||||||
openssl_arg: "mingw",
|
openssl_arg: "mingw no-asm",
|
||||||
}
|
}
|
||||||
# Windows arm images
|
# Windows arm images
|
||||||
- {
|
- {
|
||||||
@ -273,14 +273,14 @@ jobs:
|
|||||||
stockfish: "no",
|
stockfish: "no",
|
||||||
stockfish_arg: "ARCH=armv7-neon COMP=clang",
|
stockfish_arg: "ARCH=armv7-neon COMP=clang",
|
||||||
openssl: "yes",
|
openssl: "yes",
|
||||||
openssl_arg: "mingw",
|
openssl_arg: "mingw no-asm",
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
image: "windows-arm64",
|
image: "windows-arm64",
|
||||||
stockfish: "no",
|
stockfish: "no",
|
||||||
stockfish_arg: "ARCH=armv8 COMP=clang",
|
stockfish_arg: "ARCH=armv8 COMP=clang",
|
||||||
openssl: "yes",
|
openssl: "yes",
|
||||||
openssl_arg: "mingw64",
|
openssl_arg: "mingw64 no-asm",
|
||||||
}
|
}
|
||||||
# manylinux2014 images
|
# manylinux2014 images
|
||||||
- {
|
- {
|
||||||
|
@ -5,7 +5,7 @@ if (( $# >= 1 )); then
|
|||||||
build_file=build-${image%:*}
|
build_file=build-${image%:*}
|
||||||
shift 1
|
shift 1
|
||||||
|
|
||||||
cmake_arg=$*
|
cmake_arg=$@
|
||||||
echo "cmake arg: $cmake_arg"
|
echo "cmake arg: $cmake_arg"
|
||||||
|
|
||||||
#echo "Pulling dockcross/$image"
|
#echo "Pulling dockcross/$image"
|
||||||
@ -16,7 +16,7 @@ if (( $# >= 1 )); then
|
|||||||
chmod +x ./dockcross-"$image"
|
chmod +x ./dockcross-"$image"
|
||||||
|
|
||||||
echo "Build $build_file"
|
echo "Build $build_file"
|
||||||
./dockcross-"$image" cmake -B "$build_file" -S . -G Ninja $cmake_arg
|
./dockcross-"$image" cmake -B "$build_file" -S . -G Ninja "$cmake_arg"
|
||||||
./dockcross-"$image" ninja -C "$build_file"
|
./dockcross-"$image" ninja -C "$build_file"
|
||||||
else
|
else
|
||||||
echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <cmake arg.>"
|
echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <cmake arg.>"
|
||||||
|
@ -4,7 +4,7 @@ if (( $# >= 2 )); then
|
|||||||
image=$1
|
image=$1
|
||||||
shift 1
|
shift 1
|
||||||
|
|
||||||
command=$*
|
command=$@
|
||||||
echo "command: $command"
|
echo "command: $command"
|
||||||
|
|
||||||
#echo "Pulling dockcross/$image"
|
#echo "Pulling dockcross/$image"
|
||||||
@ -15,7 +15,7 @@ if (( $# >= 2 )); then
|
|||||||
chmod +x ./dockcross-"$image"
|
chmod +x ./dockcross-"$image"
|
||||||
|
|
||||||
echo "Run command in dockcross-$image"
|
echo "Run command in dockcross-$image"
|
||||||
./dockcross-"$image" $command
|
./dockcross-"$image" "$command"
|
||||||
else
|
else
|
||||||
echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <command>"
|
echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <command>"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -5,7 +5,7 @@ if (( $# >= 1 )); then
|
|||||||
build_file=build-${image%:*}
|
build_file=build-${image%:*}
|
||||||
shift 1
|
shift 1
|
||||||
|
|
||||||
make_arg=$*
|
make_arg=$@
|
||||||
echo "make arg: $make_arg"
|
echo "make arg: $make_arg"
|
||||||
|
|
||||||
#echo "Pulling dockcross/$image"
|
#echo "Pulling dockcross/$image"
|
||||||
@ -16,7 +16,7 @@ if (( $# >= 1 )); then
|
|||||||
chmod +x ./dockcross-"$image"
|
chmod +x ./dockcross-"$image"
|
||||||
|
|
||||||
echo "Build $build_file"
|
echo "Build $build_file"
|
||||||
./dockcross-"$image" bash -c 'make CXX=${CXX} CC=${CC} AR=${AR} AS=${AS} LD=${LD} CPP=${CPP} FC=${FC} ' $make_arg
|
./dockcross-"$image" bash -c 'make CXX=${CXX} CC=${CC} AR=${AR} AS=${AS} LD=${LD} CPP=${CPP} FC=${FC} ' "$make_arg"
|
||||||
else
|
else
|
||||||
echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <make arg.>"
|
echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <make arg.>"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user