Skip to content

Commit

Permalink
fix: update expr and yagraph
Browse files Browse the repository at this point in the history
This new update enables us to not have to install the libz3.so file
manually.
  • Loading branch information
sillydan1 committed Jul 7, 2024
1 parent fe6bab8 commit 924c21a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
15 changes: 2 additions & 13 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ find_package(BISON REQUIRED)
find_package(FLEX REQUIRED)

add_compile_definitions(DEFAULT_EXPRESSION_VALUE="true")
CPMAddPackage(NAME expr VERSION 3.0.4 GITHUB_REPOSITORY sillydan1/expr OPTIONS "ENABLE_Z3 ON")
CPMAddPackage(NAME expr VERSION 3.0.5 GITHUB_REPOSITORY sillydan1/expr OPTIONS "ENABLE_Z3 ON")
CPMAddPackage("gh:sillydan1/[email protected]")
CPMAddPackage("gh:sillydan1/[email protected]")
CPMAddPackage("gh:sillydan1/[email protected]")
Expand All @@ -42,8 +42,7 @@ CPMAddPackage("gh:yalibs/[email protected]")
CPMAddPackage("gh:yalibs/[email protected]")
CPMAddPackage("gh:yalibs/[email protected]")
CPMAddPackage("gh:yalibs/[email protected]")
# CPMAddPackage("gh:yalibs/[email protected]")
CPMAddPackage("gh:yalibs/yagraph#feature/validation-things")
CPMAddPackage("gh:yalibs/[email protected]")
CPMAddPackage("gh:yalibs/[email protected]")
CPMAddPackage("gh:yalibs/[email protected]")
CPMAddPackage("gh:yalibs/[email protected]")
Expand Down Expand Up @@ -124,16 +123,6 @@ install(FILES
src/man/tta.7
DESTINATION man/man7)

if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
install(FILES ${CMAKE_BINARY_DIR}/libz3.so DESTINATION lib)
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
install(FILES ${CMAKE_BINARY_DIR}/libz3.dll DESTINATION lib)
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
install(FILES ${CMAKE_BINARY_DIR}/libz3.dylib DESTINATION lib)
else()
message(WARNING "unknown system ${CMAKE_SYSTEM_NAME}")
endif()

install(DIRECTORY
src/ntta
src/plugin_system
Expand Down
1 change: 0 additions & 1 deletion src/cli/lsp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,3 @@ auto load_plugins(std::map<std::string, argument_t>& cli_arguments) -> plugin_ma
look_dirs.insert(look_dirs.end(), provided_dirs.begin(), provided_dirs.end());
return aaltitoad::plugins::load(look_dirs);
}

0 comments on commit 924c21a

Please sign in to comment.