Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Simplify dependencies #30

Closed
wants to merge 4 commits into from
Closed

Conversation

sharwell
Copy link
Contributor

@sharwell sharwell commented Jan 8, 2018

⚠️ See comments in the diff for questions.

🔗 Related to #19


# Dependencies
FIND_PACKAGE(Boost 1.33 REQUIRED COMPONENTS filesystem system unit_test_framework)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ Do we still need to specify -lboost_system -lboost_filesystem in CMAKE_EXE_LINKER_FLAGS above? It seems like this is all covered in the individual projects.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

➡️ Now that Travis-CI is set up, I was able to remove these lines and see that the build still works without them.

@@ -3,8 +3,5 @@ json_spirit_reader.cpp
json_spirit_value.cpp
json_spirit_writer.cpp)

FIND_PACKAGE(Boost 1.34 REQUIRED)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ This one says version 1.34, but others said 1.33. I used 1.33 in the updated CMakeLists.txt file. Should it be changed to something else?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 I'm trying to figure out how to more easily install specific Boost versions in Travis CI for build validation.

FIND_PACKAGE(Boost 1.33 REQUIRED COMPONENTS filesystem system unit_test_framework)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})

FIND_PACKAGE(OpenSSL REQUIRED)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ I tested this on Windows, but have not tested it on Ubuntu. Since we don't already have a CI in place for pull requests (e.g. travis-ci), someone should manually verify this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 This appears to be working on Travis CI.

@@ -31,5 +31,20 @@ if(NOT IS_LOOKUP_NODE)
endif()
endif()

if(NOT WIN32)
SET( LevelDB_LIBRARIES leveldb )
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 This will need to change as part of #7, but for now I did not make any changes to the existing behavior on non-Windows systems.

@sharwell sharwell changed the title Simplify dependencies [WIP] Simplify dependencies Feb 21, 2018
@sharwell
Copy link
Contributor Author

Marking as a WIP. This PR was ignored and eventually conflicted with recent merges.

@bb111189 bb111189 added the medium Medium priority label Mar 3, 2018
@bb111189 bb111189 removed the medium Medium priority label Jul 9, 2018
@n-hutton n-hutton closed this Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants