Site icon GetPageSpeed

Compiling PSOL for packaging. First steps.

CentOS 7 build system. libstdc++-static must be installed

Based on: https://www.modpagespeed.com/doc/build_mod_pagespeed_from_source

mkdir -p ~/bin
cd ~/bin
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=$PATH:~/bin/depot_tools
git clone -b latest-stable --recursive https://github.com/apache/incubator-pagespeed-mod.git
cd incubator-pagespeed-mod
python build/gyp_chromium --depth=.
make BUILDTYPE=Release mod_pagespeed_test pagespeed_automatic_test

Build and generate PSOL archive:

install/build_psol.sh
Exit mobile version