Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

modify s2 library dependence #129

Merged
merged 10 commits into from
Jul 13, 2018
Merged

modify s2 library dependence #129

merged 10 commits into from
Jul 13, 2018

Conversation

acelyc111
Copy link
Member

  • modify s2 library dependence from personal github site to google official .zip package

"s2geometry"
ret_code=$?
if [ $ret_code -eq 2 ]; then
exit -1

This comment was marked as resolved.

if [ $? != 0 ]; then
echo "ERROR: download s2geometry wrong"
echo "ERROR: patch fix_s2_for_pegasus.patch for s2geometry failed"
exit -1

This comment was marked as resolved.

@@ -42,6 +42,7 @@
// The following code is internal implementation detail. See the comment at the
// top of this file for the API documentation.

namespace dsn {
Copy link
Contributor

Choose a reason for hiding this comment

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

这里加个注释

// to prevent symbol conflict from third-parties (google/s2 eg.) that also uses abseil.

@@ -46,6 +46,7 @@

#include <dsn/utility/absl/base/internal/invoke.h>

namespace dsn {
Copy link
Contributor

Choose a reason for hiding this comment

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

同上

// to prevent symbol conflict from third-parties (google/s2 eg.) that also uses abseil.

@neverchanje

This comment has been minimized.

@@ -200,5 +202,6 @@ auto apply(Functor &&functor, Tuple &&t) -> decltype(utility_internal::apply_hel
std::tuple_size<typename std::remove_reference<Tuple>::type>::value>{});
}
} // namespace absl
} // namespace dsn

#endif // ABSL_UTILITY_UTILITY_H_

This comment was marked as resolved.

@acelyc111 acelyc111 merged commit 915cba5 into XiaoMi:master Jul 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants