/usr/share/ray/scripts/Build-Link-Time-Optimization.sh is in ray-extra 2.3.0-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/bash
mpicxx \
-Wall -std=c++98 -Os -march=native -flto -fwhole-program \
-D CONFIG_HAVE_LIBZ -D CONFIG_HAVE_LIBBZ2 -lz -lbz2 \
-flto-report \
-D CONFIG_MAXKMERLENGTH=32 \
-D CONFIG_RAY_VERSION=\"x.y.z\" -D CONFIG_RAYPLATFORM_VERSION=\"x.y.z\" \
-I. -I RayPlatform \
$(find code/|grep .cpp$;find RayPlatform/|grep .cpp$) \
-o Ray
# remove even more stuff from the executable
strip Ray
|