Skip to content

Commit

Permalink
add extra flags for hyperscan
Browse files Browse the repository at this point in the history
add compile flags to resolve bolt optimization problem: 
* add extra flags for hyperscan
  • Loading branch information
zongmei.zzm authored and ob-robot-pre committed Sep 2, 2024
1 parent 785d1fc commit 37e165b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/devdeps-hyperscan.spec
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ mkdir -p ${build_dir}

# compile and install
cd ${build_dir}
cmake .. -DBOOST_ROOT=${boost_install_dir}/include -DCMAKE_POSITION_INDEPENDENT_CODE=on -DBUILD_STATIC_AND_SHARED=on -DCMAKE_INSTALL_PREFIX=${tmp_install_dir}
cmake .. -DBOOST_ROOT=${boost_install_dir}/include -DCMAKE_POSITION_INDEPENDENT_CODE=on -DBUILD_STATIC_AND_SHARED=on -DCMAKE_INSTALL_PREFIX=${tmp_install_dir} -DCMAKE_C_FLAGS="-fno-reorder-blocks-and-partition" -DCMAKE_CXX_FLAGS="-fno-reorder-blocks-and-partition"
make -j${CPU_CORES}
make install

Expand Down

0 comments on commit 37e165b

Please sign in to comment.