Compare commits

..

19 Commits

Author SHA1 Message Date
de3e659ef5 bumped version to 1.19.3.1. 2020-11-06 12:18:13 -08:00
1c4063664e upgraded lua-resty-mysql to 0.23. 2020-11-04 11:14:07 +08:00
72d8adc75c tests: fixed tests to reflect component version bumps. 2020-11-03 16:19:48 +08:00
d5f130fbff upgraded lua-resty-core to 0.1.21. 2020-11-03 16:18:44 +08:00
934a3102dc upgraded ngx_lua to 0.10.19. 2020-11-03 16:18:25 +08:00
b9bc185f79 upgraded lua-resty-websocket to 0.08. 2020-10-30 16:41:34 +08:00
f43cd23f83 upgraded resty-cli to 0.27. 2020-10-30 16:40:47 +08:00
0e1cad8190 upgraded lua-resty-core to 0.1.20. 2020-10-30 16:40:12 +08:00
ce740cba10 upgraded ngx_stream_lua to v0.0.9. 2020-10-30 16:39:22 +08:00
8fa9533c5e upgraded ngx_lua to 0.10.18. 2020-10-30 16:38:52 +08:00
29b901d4cd change: ./configure: we no longer need to pass in -msse4.2 with the latest LuaJIT. 2020-10-27 01:06:41 -07:00
fcee0d36da bumped version to 1.19.3.1 RC2. 2020-10-27 00:37:39 -07:00
bae27d3eff updated tests to reflect the new luajit. 2020-10-27 00:36:28 -07:00
931adca76a upgraded LuaJIT to 2.1-20201027. 2020-10-27 00:35:54 -07:00
62c3cb72a1 bumped version to 1.19.3.1 RC1. 2020-10-24 12:55:08 -07:00
8a4605a933 upgraded lua-resty-core to 0.1.20rc3. 2020-10-24 04:48:18 -05:00
a8696337a6 upgraded ngx_lua to 0.10.18rc4. 2020-10-24 04:48:09 -05:00
771e9e678e style: remove useless trailing spaces. (#665) 2020-10-18 10:40:49 +08:00
f9634628c1 tests: fixed tests to reflect component version bumps. (#666)
upgraded LuaJIT to 2.1-20201012-2.
2020-10-13 16:55:16 +08:00
5 changed files with 647 additions and 844 deletions

View File

@ -30,9 +30,9 @@ linux-s390x: &linux-s390x
- dos2unix
- cpanminus
- libgd-dev
- libpcre3
- libpcre3-dev
- mercurial
- libpcre3
- libpcre3-dev
- mercurial
- libpq-dev
install:
- sudo cpanm --notest Test::Nginx IPC::Run3 > build.log 2>&1 || (cat build.log && exit 1)

File diff suppressed because it is too large Load Diff

45
util/configure vendored
View File

@ -739,51 +739,6 @@ _END_
$luajit_xcflags .= " -DLUAJIT_DISABLE_GC64";
}
if (!$user_luajit_xcflags
|| $user_luajit_xcflags !~ /-msse4\.2\b/)
{
# check -msse4.2
my ($out, $cfile) = tempfile("resty-config-XXXXXX",
SUFFIX => '.c', TMPDIR => 1,
UNLINK => 1);
print $out "
int main(void) {
#ifndef __SSE4_2__
# error SSE 4.2 not found
#endif
return 0;
}
";
close $out;
my $ofile = tmpnam();
my $comp = ($cc || 'cc');
my $found;
if (system("$comp -o $ofile -msse4.2 -c $cfile") == 0
&& -s $ofile)
{
unlink $ofile;
if (system("$comp -o $ofile -march=native -c $cfile") == 0
&& -s $ofile)
{
print "INFO: found -msse4.2 in $comp.\n";
$found = 1;
$luajit_xcflags .= " -msse4.2";
}
}
if (-f $ofile) {
unlink $ofile;
}
if (!$found) {
print "WARNING: -msse4.2 not supported in $comp.\n";
}
}
if ($platform eq 'macosx') {
# to work around a bug in the Xcode toolchain in macOS 11.15:
# https://github.com/openresty/homebrew-brew/issues/10

View File

@ -555,7 +555,7 @@ mv openresty-drizzle-nginx-module-* drizzle-nginx-module-$ver || exit 1
#################################
ver=0.10.18rc3
ver=0.10.19
$root/util/get-tarball "https://github.com/openresty/lua-nginx-module/archive/v$ver.tar.gz" -O lua-nginx-module-$ver.tar.gz || exit 1
tar -xzf lua-nginx-module-$ver.tar.gz || exit 1
mv lua-nginx-module-$ver ngx_lua-$ver || exit 1
@ -569,7 +569,7 @@ mv openresty-lua-upstream-nginx-module-* ngx_lua_upstream-$ver || exit 1
#################################
ver=0.0.9rc3
ver=0.0.9
$root/util/get-tarball "https://github.com/openresty/stream-lua-nginx-module/tarball/v$ver" -O stream-lua-nginx-module-$ver.tar.gz || exit 1
tar -xzf stream-lua-nginx-module-$ver.tar.gz || exit 1
mv openresty-stream-lua-nginx-module-* ngx_stream_lua-$ver || exit 1
@ -668,7 +668,7 @@ mv openresty-redis2-nginx-module-* redis2-nginx-module-$ver || exit 1
#################################
ver=0.27rc4
ver=0.27
$root/util/get-tarball "https://github.com/openresty/resty-cli/tarball/v$ver" -O resty-cli-$ver.tar.gz || exit 1
tar -xzf resty-cli-$ver.tar.gz || exit 1
mv openresty-resty-cli-* resty-cli-$ver || exit 1
@ -683,7 +683,7 @@ mv openresty-opm-* opm-$ver || exit 1
#################################
ver=2.1-20201012-2
ver=2.1-20201027
$root/util/get-tarball "https://github.com/openresty/luajit2/archive/v$ver.tar.gz" -O "LuaJIT-$ver.tar.gz" || exit 1
tar -xzf LuaJIT-$ver.tar.gz || exit 1
mv luajit2-* LuaJIT-$ver || exit 1
@ -748,7 +748,7 @@ mv openresty-lua-resty-redis-* lua-resty-redis-$ver || exit 1
#################################
ver=0.23rc1
ver=0.23
$root/util/get-tarball "https://github.com/openresty/lua-resty-mysql/tarball/v$ver" -O "lua-resty-mysql-$ver.tar.gz" || exit 1
tar -xzf lua-resty-mysql-$ver.tar.gz || exit 1
mv openresty-lua-resty-mysql-* lua-resty-mysql-$ver || exit 1
@ -792,7 +792,7 @@ cd ..
#################################
ver=0.08rc1
ver=0.08
$root/util/get-tarball "https://github.com/openresty/lua-resty-websocket/tarball/v$ver" -O "lua-resty-websocket-$ver.tar.gz" || exit 1
tar -xzf lua-resty-websocket-$ver.tar.gz || exit 1
mv openresty-lua-resty-websocket-* lua-resty-websocket-$ver || exit 1
@ -825,7 +825,7 @@ cd ..
#################################
ver=0.1.20rc2
ver=0.1.21
$root/util/get-tarball "https://github.com/openresty/lua-resty-core/tarball/v$ver" -O "lua-resty-core-$ver.tar.gz" || exit 1
tar -xzf lua-resty-core-$ver.tar.gz || exit 1
mv openresty-lua-resty-core-* lua-resty-core-$ver || exit 1

View File

@ -1,7 +1,7 @@
#!/bin/bash
main_ver=1.19.3
minor_ver=1rc0
minor_ver=1
version=$main_ver.$minor_ver
echo $version