Skip to content

Commit

Permalink
fix: remove something unused
Browse files Browse the repository at this point in the history
  • Loading branch information
dterazhao committed Nov 25, 2024
1 parent 5d0c11a commit a68a0c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 41 deletions.
42 changes: 2 additions & 40 deletions native/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,15 @@
<artifactId>native</artifactId>

<properties>
<bazel.build.skip>false</bazel.build.skip>
<javacpp.build.skip>false</javacpp.build.skip>
<native.classifier>${javacpp.platform}${javacpp.platform.extension}</native.classifier>
<javacpp.platform>${os.name}-${os.arch}</javacpp.platform>
<jar.name.suffix>-${javacpp.platform}</jar.name.suffix>
<!--suppress CheckTagEmptyBody -->
<javacpp.platform.extension></javacpp.platform.extension>
<javacpp.platform.properties>${javacpp.platform}</javacpp.platform.properties>
<javacpp.platform.linux-armhf>linux-armhf</javacpp.platform.linux-armhf>
<javacpp.platform.linux-arm64>linux-arm64</javacpp.platform.linux-arm64>
<javacpp.platform.linux-x86_64>linux-x86_64</javacpp.platform.linux-x86_64>
<javacpp.platform.macosx-arm64>macosx-arm64</javacpp.platform.macosx-arm64>
<javacpp.platform.macosx-x86_64>macosx-x86_64</javacpp.platform.macosx-x86_64>
<javacpp.platform.windows-x86_64>windows-x86_64</javacpp.platform.windows-x86_64>
<javacpp.platform.linux-armhf.extension>linux-armhf${javacpp.platform.extension}
</javacpp.platform.linux-armhf.extension>
<javacpp.platform.linux-arm64.extension>linux-arm64${javacpp.platform.extension}
</javacpp.platform.linux-arm64.extension>
<javacpp.platform.linux-x86_64.extension>linux-x86_64${javacpp.platform.extension}
</javacpp.platform.linux-x86_64.extension>
<javacpp.platform.macosx-arm64.extension>macosx-arm64${javacpp.platform.extension}
</javacpp.platform.macosx-arm64.extension>
<javacpp.platform.macosx-x86_64.extension>macosx-x86_64${javacpp.platform.extension}
</javacpp.platform.macosx-x86_64.extension>
<javacpp.platform.windows-x86_64.extension>windows-x86_64${javacpp.platform.extension}
</javacpp.platform.windows-x86_64.extension>
<dist.download.folder>${project.build.directory}/dist</dist.download.folder>
<bazel.build.skip>false</bazel.build.skip>

<native.include.dir>${project.basedir}/../bazel-${project.parent.artifactId}</native.include.dir>
<native.include.src.dir>${native.include.dir}/native/src/main/native/cn/cstn/algorithm/javacpp
Expand Down Expand Up @@ -118,7 +100,7 @@
<configuration>
<archive>
<manifest>
<mainClass>cn.cstn.algorithm.javacpp.NativeDemo</mainClass>
<mainClass>cn.cstn.algorithm.javacpp.MyFuncTest</mainClass>
</manifest>
</archive>
<descriptorRefs>
Expand Down Expand Up @@ -181,26 +163,6 @@
<linkPath>${native.lib.src.dir}</linkPath>
<linkPath>${native.lib.src.dir}/heu</linkPath>
<linkPath>${native.lib.external.dir}/com_github_libtom_libtommath/libtommath/lib</linkPath>
<!--<linkPath>${project.basedir}/../bazel/third_party/lib</linkPath>
<linkPath>${native.lib.external.dir}/com_dtera_heu</linkPath>
<linkPath>${native.lib.external.dir}/com_github_blake3team_blake3</linkPath>
<linkPath>${native.lib.external.dir}/com_github_fmtlib_fmt</linkPath>
<linkPath>${native.lib.external.dir}/com_github_gabime_spdlog</linkPath>
<linkPath>${native.lib.external.dir}/com_github_gflags_gflags</linkPath>
<linkPath>${native.lib.external.dir}/com_github_google_benchmark</linkPath>
<linkPath>${native.lib.external.dir}/com_github_herumi_mcl</linkPath>
<linkPath>${native.lib.external.dir}/com_github_libsodium</linkPath>
<linkPath>${native.lib.external.dir}/com_github_libtom_libtommath</linkPath>
<linkPath>${native.lib.external.dir}/com_github_microsoft_FourQlib</linkPath>
<linkPath>${native.lib.external.dir}/com_github_msgpack_msgpack</linkPath>
<linkPath>${native.lib.external.dir}/com_github_openssl_openssl</linkPath>
<linkPath>${native.lib.external.dir}/com_google_absl</linkPath>
<linkPath>${native.lib.external.dir}/com_google_googletest</linkPath>
<linkPath>${native.lib.external.dir}/com_google_protobuf</linkPath>
<linkPath>${native.lib.external.dir}/gmp</linkPath>
<linkPath>${native.lib.external.dir}/org_interconnection</linkPath>
<linkPath>${native.lib.external.dir}/yacl</linkPath>
<linkPath>${native.lib.external.dir}/zlib</linkPath>-->
</linkPaths>
<resourcePaths>
<resourcePath>${project.basedir}/../</resourcePath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Native Demo
*/

public class NativeDemo {
public class MyFuncTest {

public static void main(String[] args) {
try (MyFunc myFunc = new MyFunc()) {
Expand Down

0 comments on commit a68a0c1

Please sign in to comment.