Skip to content

Commit

Permalink
Merge pull request #238 from AntelopeIO/antler-proj-removal
Browse files Browse the repository at this point in the history
  • Loading branch information
dimas1185 authored Oct 6, 2023
2 parents 02ce20a + 2a91ea6 commit e8d0a5f
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .cicd/platforms/ubuntu22.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ RUN apt-get update && apt-get upgrade -y && \
pkg-config \
libboost-all-dev \
libcurl4-gnutls-dev \
clang-tidy
clang-tidy
5 changes: 1 addition & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@
url = https://github.com/AntelopeIO/cdt-libcxx
[submodule "libraries/native/softfloat"]
path = libraries/native/softfloat
url = https://github.com/AntelopeIO/berkeley-softfloat-3
[submodule "tools/external/antler-proj"]
path = tools/external/antler-proj
url = https://github.com/AntelopeIO/antler-proj
url = https://github.com/AntelopeIO/berkeley-softfloat-3
11 changes: 0 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,6 @@ configure_file(${CMAKE_SOURCE_DIR}/cdt-llvm/LICENSE.TXT ${CMAKE_BINARY_DIR}/lice
configure_file(${CMAKE_SOURCE_DIR}/libraries/boost/boost.license ${CMAKE_BINARY_DIR}/licenses/boost.license COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/libraries/meta_refl/LICENSE ${CMAKE_BINARY_DIR}/licenses/meta_refl.license COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/tools/external/wabt/LICENSE ${CMAKE_BINARY_DIR}/licenses/wabt.license COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/tools/external/antler-proj/LICENSE ${CMAKE_BINARY_DIR}/licenses/antler-proj.license COPYONLY)
file(GLOB license_files ${CMAKE_SOURCE_DIR}/tools/external/antler-proj/licenses/*)
# add licenses for antler-proj submodules
foreach(full_path IN ITEMS ${license_files})
# change format to match other license filenames
get_filename_component(file_name ${full_path} NAME)
string(REPLACE "LICENSE." "" file_name ${file_name})
string(TOLOWER ${file_name} file_name)
set(file_name "${file_name}.license")
configure_file("${full_path}" "${CMAKE_BINARY_DIR}/licenses/${file_name}" COPYONLY)
endforeach()
configure_file(${CMAKE_SOURCE_DIR}/tools/jsoncons/LICENSE ${CMAKE_BINARY_DIR}/licenses/jsoncons.license COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/LICENSE ${CMAKE_BINARY_DIR}/licenses/cdt.license COPYONLY)

Expand Down
1 change: 0 additions & 1 deletion modules/InstallCDT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ cdt_tool_install_and_symlink(cdt-cpp cdt-cpp)
cdt_tool_install_and_symlink(cdt-ld cdt-ld)
cdt_tool_install_and_symlink(cdt-abidiff cdt-abidiff)
cdt_tool_install_and_symlink(cdt-init cdt-init)
cdt_tool_install_and_symlink(antler-proj antler-proj)

cdt_clang_install(../lib/LLVMEosioApply${CMAKE_SHARED_LIBRARY_SUFFIX})
cdt_clang_install(../lib/LLVMEosioSoftfloat${CMAKE_SHARED_LIBRARY_SUFFIX})
Expand Down
2 changes: 0 additions & 2 deletions scripts/generate_tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ create_symlink cdt-objdump cdt-objdump
create_symlink cdt-ranlib cdt-ranlib
create_symlink cdt-readelf cdt-readelf
create_symlink cdt-strip cdt-strip
create_symlink antler-proj antler-proj
create_symlink antler-proj cdt-proj

echo "Generating Tarball $NAME.tar.gz..."
tar -cvzf $NAME.tar.gz ./${PREFIX}/* || exit 1
Expand Down
10 changes: 0 additions & 10 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,3 @@ add_subdirectory(init)
add_subdirectory(external)

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/compiler_options.hpp.in ${CMAKE_BINARY_DIR}/compiler_options.hpp)

add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/bin/antler-proj
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:antler-proj> ${CMAKE_BINARY_DIR}/bin/
DEPENDS antler-proj
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/external/antler-proj/tools
)

add_custom_target(copy_files ALL
DEPENDS ${CMAKE_BINARY_DIR}/bin/antler-proj
)
3 changes: 1 addition & 2 deletions tools/external/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
add_subdirectory(wabt)
add_subdirectory(antler-proj)
add_subdirectory(wabt)
1 change: 0 additions & 1 deletion tools/external/antler-proj
Submodule antler-proj deleted from 2034b9

0 comments on commit e8d0a5f

Please sign in to comment.