From 14ab025c294c84f37af99225dcb9328aa7b7408f Mon Sep 17 00:00:00 2001 From: eeff <33566201+eeff@users.noreply.github.com> Date: Wed, 1 Feb 2023 16:25:30 +0800 Subject: [PATCH 1/3] build: remove submodule uthash --- .gitmodules | 3 --- extern/uthash | 1 - 2 files changed, 4 deletions(-) delete mode 160000 extern/uthash diff --git a/.gitmodules b/.gitmodules index ef50a8ab..e69de29b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "extern/uthash"] - path = extern/uthash - url = https://github.com/troydhanson/uthash.git diff --git a/extern/uthash b/extern/uthash deleted file mode 160000 index 44a66fe8..00000000 --- a/extern/uthash +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 44a66fe8e008c0a7f1c5af96f4a4cdf304b8bc81 From 8cd740d9790a7512da5acdc7928110307402612c Mon Sep 17 00:00:00 2001 From: eeff <33566201+eeff@users.noreply.github.com> Date: Wed, 1 Feb 2023 16:26:17 +0800 Subject: [PATCH 2/3] build: no need to copy uthash in CMakeLists.txt --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5fb9d864..e7d01b30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,10 +44,6 @@ add_custom_target(neuron-version COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/neuron-version.cmake) -configure_file(extern/uthash/include/uthash.h ${CMAKE_SOURCE_DIR}/include/neuron/utils/uthash.h) -configure_file(extern/uthash/include/utarray.h ${CMAKE_SOURCE_DIR}/include/neuron/utils/utarray.h) -configure_file(extern/uthash/include/utlist.h ${CMAKE_SOURCE_DIR}/include/neuron/utils/utlist.h) - find_package(nng CONFIG REQUIRED) find_package(Threads) From be7520d49dcf15da8d0bb5a2e3a88eb36aba4ecc Mon Sep 17 00:00:00 2001 From: eeff <33566201+eeff@users.noreply.github.com> Date: Wed, 1 Feb 2023 16:40:47 +0800 Subject: [PATCH 3/3] chore: update README --- README-CN.md | 1 - README.md | 1 - 2 files changed, 2 deletions(-) diff --git a/README-CN.md b/README-CN.md index 9840008c..5f778c7e 100644 --- a/README-CN.md +++ b/README-CN.md @@ -77,7 +77,6 @@ Neuron 文档地址:[https://neugates.io/docs/zh/latest/](https://neugates.io/ ``` $ git clone https://github.com/emqx/neuron $ cd neuron -$ git submodule update --init $ mkdir build && cd build $ cmake .. && make ``` diff --git a/README.md b/README.md index 823c30c8..6b0b8ad9 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,6 @@ The Neuron documentation is available at [neugates.io/docs/en/latest/](https://n ``` $ git clone https://github.com/emqx/neuron $ cd neuron -$ git submodule update --init $ mkdir build && cd build $ cmake .. && make ```