Skip to content

Commit

Permalink
HDDS-10477. Make Rocksdb tools native lib compatible with all chipset…
Browse files Browse the repository at this point in the history
… with the same arch (apache#6341)

(cherry picked from commit e3a7224)
  • Loading branch information
swamirishi authored and xichen01 committed Apr 23, 2024
1 parent 6a31ccd commit fe73d70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hadoop-hdds/rocks-native/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,8 @@
<arg line="${project.build.directory}/rocksdb/rocksdb-${rocksdb.version}"/>
</exec>
<exec executable="make" dir="${project.build.directory}/rocksdb/rocksdb-${rocksdb.version}" failonerror="true">
<arg line="DEBUG_LEVEL=0"/>
<arg line="PORTABLE=1"/>
<arg line="DEBUG_LEVEL=0"/>
<arg line="EXTRA_CXXFLAGS='-fPIC -I${project.build.directory}/snappy/lib -I${project.build.directory}/snappy/snappy-${snappy.version} -I${project.build.directory}/lz4/lz4-${lz4.version}/lib -I${project.build.directory}/zstd/zstd-${zstd.version}/lib -I${project.build.directory}/zstd/zstd-${zstd.version}/lib/dictBuilder -I${project.build.directory}/bzip2/bzip2-${bzip2.version} -I${project.build.directory}/zlib/zlib-${zlib.version}'"/>
<arg line="EXTRA_LDFLAGS='-L${project.build.directory}/snappy/lib -L${project.build.directory}/lz4/lz4-${lz4.version}/lib -L${project.build.directory}/zstd/zstd-${zstd.version}/lib -L${project.build.directory}/bzip2/bzip2-${bzip2.version} -L${project.build.directory}/zlib/zlib-${zlib.version}'"/>
<arg line="-j${system.numCores}"/>
Expand Down

0 comments on commit fe73d70

Please sign in to comment.