Skip to content

Commit e8d0a5f

Browse files
authored
Merge pull request AntelopeIO#238 from AntelopeIO/antler-proj-removal
2 parents 02ce20a + 2a91ea6 commit e8d0a5f

File tree

8 files changed

+3
-32
lines changed

8 files changed

+3
-32
lines changed

.cicd/platforms/ubuntu22.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ RUN apt-get update && apt-get upgrade -y && \
99
pkg-config \
1010
libboost-all-dev \
1111
libcurl4-gnutls-dev \
12-
clang-tidy
12+
clang-tidy

.gitmodules

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,4 @@
99
url = https://github.com/AntelopeIO/cdt-libcxx
1010
[submodule "libraries/native/softfloat"]
1111
path = libraries/native/softfloat
12-
url = https://github.com/AntelopeIO/berkeley-softfloat-3
13-
[submodule "tools/external/antler-proj"]
14-
path = tools/external/antler-proj
15-
url = https://github.com/AntelopeIO/antler-proj
12+
url = https://github.com/AntelopeIO/berkeley-softfloat-3

CMakeLists.txt

-11
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,6 @@ configure_file(${CMAKE_SOURCE_DIR}/cdt-llvm/LICENSE.TXT ${CMAKE_BINARY_DIR}/lice
9393
configure_file(${CMAKE_SOURCE_DIR}/libraries/boost/boost.license ${CMAKE_BINARY_DIR}/licenses/boost.license COPYONLY)
9494
configure_file(${CMAKE_SOURCE_DIR}/libraries/meta_refl/LICENSE ${CMAKE_BINARY_DIR}/licenses/meta_refl.license COPYONLY)
9595
configure_file(${CMAKE_SOURCE_DIR}/tools/external/wabt/LICENSE ${CMAKE_BINARY_DIR}/licenses/wabt.license COPYONLY)
96-
configure_file(${CMAKE_SOURCE_DIR}/tools/external/antler-proj/LICENSE ${CMAKE_BINARY_DIR}/licenses/antler-proj.license COPYONLY)
97-
file(GLOB license_files ${CMAKE_SOURCE_DIR}/tools/external/antler-proj/licenses/*)
98-
# add licenses for antler-proj submodules
99-
foreach(full_path IN ITEMS ${license_files})
100-
# change format to match other license filenames
101-
get_filename_component(file_name ${full_path} NAME)
102-
string(REPLACE "LICENSE." "" file_name ${file_name})
103-
string(TOLOWER ${file_name} file_name)
104-
set(file_name "${file_name}.license")
105-
configure_file("${full_path}" "${CMAKE_BINARY_DIR}/licenses/${file_name}" COPYONLY)
106-
endforeach()
10796
configure_file(${CMAKE_SOURCE_DIR}/tools/jsoncons/LICENSE ${CMAKE_BINARY_DIR}/licenses/jsoncons.license COPYONLY)
10897
configure_file(${CMAKE_SOURCE_DIR}/LICENSE ${CMAKE_BINARY_DIR}/licenses/cdt.license COPYONLY)
10998

modules/InstallCDT.cmake

-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ cdt_tool_install_and_symlink(cdt-cpp cdt-cpp)
7474
cdt_tool_install_and_symlink(cdt-ld cdt-ld)
7575
cdt_tool_install_and_symlink(cdt-abidiff cdt-abidiff)
7676
cdt_tool_install_and_symlink(cdt-init cdt-init)
77-
cdt_tool_install_and_symlink(antler-proj antler-proj)
7877

7978
cdt_clang_install(../lib/LLVMEosioApply${CMAKE_SHARED_LIBRARY_SUFFIX})
8079
cdt_clang_install(../lib/LLVMEosioSoftfloat${CMAKE_SHARED_LIBRARY_SUFFIX})

scripts/generate_tarball.sh

-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ create_symlink cdt-objdump cdt-objdump
7474
create_symlink cdt-ranlib cdt-ranlib
7575
create_symlink cdt-readelf cdt-readelf
7676
create_symlink cdt-strip cdt-strip
77-
create_symlink antler-proj antler-proj
78-
create_symlink antler-proj cdt-proj
7977

8078
echo "Generating Tarball $NAME.tar.gz..."
8179
tar -cvzf $NAME.tar.gz ./${PREFIX}/* || exit 1

tools/CMakeLists.txt

-10
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,3 @@ add_subdirectory(init)
7979
add_subdirectory(external)
8080

8181
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/compiler_options.hpp.in ${CMAKE_BINARY_DIR}/compiler_options.hpp)
82-
83-
add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/bin/antler-proj
84-
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:antler-proj> ${CMAKE_BINARY_DIR}/bin/
85-
DEPENDS antler-proj
86-
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/external/antler-proj/tools
87-
)
88-
89-
add_custom_target(copy_files ALL
90-
DEPENDS ${CMAKE_BINARY_DIR}/bin/antler-proj
91-
)

tools/external/CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
add_subdirectory(wabt)
2-
add_subdirectory(antler-proj)
1+
add_subdirectory(wabt)

tools/external/antler-proj

-1
This file was deleted.

0 commit comments

Comments
 (0)