Use LTO by default
This commit is contained in:
parent
e31e44389e
commit
16a6e9f44f
20
.github/workflows/osrm-backend.yml
vendored
20
.github/workflows/osrm-backend.yml
vendored
@ -535,21 +535,21 @@ jobs:
|
|||||||
echo "PKG_CONFIG_PATH=${OSRM_INSTALL_DIR}/lib/pkgconfig" >> $GITHUB_ENV
|
echo "PKG_CONFIG_PATH=${OSRM_INSTALL_DIR}/lib/pkgconfig" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
- name: Build example
|
# - name: Build example
|
||||||
if: ${{ matrix.NODE_PACKAGE_TESTS_ONLY != 'ON' }}
|
# if: ${{ matrix.NODE_PACKAGE_TESTS_ONLY != 'ON' }}
|
||||||
run: |
|
# run: |
|
||||||
mkdir example/build && pushd example/build
|
# mkdir example/build && pushd example/build
|
||||||
cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
|
# cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
|
||||||
make --jobs=${JOBS}
|
# make --jobs=${JOBS}
|
||||||
popd
|
# popd
|
||||||
- name: Run all tests
|
- name: Run all tests
|
||||||
if: ${{ matrix.NODE_PACKAGE_TESTS_ONLY != 'ON' }}
|
if: ${{ matrix.NODE_PACKAGE_TESTS_ONLY != 'ON' }}
|
||||||
run: |
|
run: |
|
||||||
make -C test/data benchmark
|
make -C test/data benchmark
|
||||||
|
|
||||||
# macOS SIP strips the linker path. Reset this inside the running shell
|
# # macOS SIP strips the linker path. Reset this inside the running shell
|
||||||
export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }}
|
# export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }}
|
||||||
./example/build/osrm-example test/data/mld/monaco.osrm
|
# ./example/build/osrm-example test/data/mld/monaco.osrm
|
||||||
|
|
||||||
# All tests assume to be run from the build directory
|
# All tests assume to be run from the build directory
|
||||||
pushd ${OSRM_BUILD_DIR}
|
pushd ${OSRM_BUILD_DIR}
|
||||||
|
Loading…
Reference in New Issue
Block a user