netty5/docker
Norman Maurer e3086d50e9 Let's use gcc10 when cross-compiling for LSE support (#11112)
Motivation:

LSE (https://mysqlonarm.github.io/ARM-LSE-and-MySQL/) can have a huge performance difference. Let's ensure we use a compiler that can support it.

Modifications:

Update to gc10 when cross-compiling as it supports LSE and enables it by default

Result:

More optimized builds for aarch64
2021-03-25 09:34:08 +01:00
..
docker-compose.centos-6.111.yaml Add missing docker compose config for staging (#11066) 2021-03-08 20:51:39 +01:00
docker-compose.centos-6.115.yaml Bring forward build automation changes (#11052) 2021-03-02 17:44:03 +01:00
docker-compose.centos-6.graalvm111.yaml Bring forward build automation changes (#11052) 2021-03-02 17:44:03 +01:00
docker-compose.centos-6.openj9111.yaml Bring forward build automation changes (#11052) 2021-03-02 17:44:03 +01:00
docker-compose.centos-7.yaml Let's use gcc10 when cross-compiling for LSE support (#11112) 2021-03-25 09:34:08 +01:00
docker-compose.yaml Bring forward build automation changes (#11052) 2021-03-02 17:44:03 +01:00
Dockerfile.centos6 Try to stabilize docker build by using https (#11070) 2021-03-09 09:10:36 +01:00
Dockerfile.cross_compile_aarch64 Let's use gcc10 when cross-compiling for LSE support (#11112) 2021-03-25 09:34:08 +01:00
README.md Bring forward build automation changes (#11052) 2021-03-02 17:44:03 +01:00

Using the docker images

cd /path/to/netty/

centos 6 with java 11

docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml run test

aarch64 cross compile for transport-native-epoll on X86_64

docker-compose -f docker/docker-compose.yaml run cross-compile-aarch64-build

The default version of aarch64 gcc is 4.9-2016.02. Update the parameter gcc_version in docker-compose.yaml to use a version you want.

etc, etc