Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Use cereal lib configured in WORKSPACE and remove tar.gz #2986

Merged
merged 1 commit into from
Aug 20, 2018

Conversation

nwangtw
Copy link
Contributor

@nwangtw nwangtw commented Aug 17, 2018

No description provided.

@nwangtw
Copy link
Contributor Author

nwangtw commented Aug 17, 2018

@kramasamy @srkukarni I saw you guys added the tar.gz file and changed the version from 1.2.2 to 1.2.1 in git log. And from git log there seems to be a patch file before but it is not in this folder any more. Could you please take a look at this PR? And do I need to change 1.2.2 to 1.2.1?

Thanks in advance.

@@ -116,9 +116,7 @@ genrule(

cc_library(
name = "cereal-cxx",
srcs = [
"empty.cc",
Copy link
Member

Choose a reason for hiding this comment

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

IIRC, the empty file is needed for compiling correctly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

"bazel build --config=darwin heron/..." seems to be working ok for me locally. Doing another clean rebuild now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Builds ok.

INFO: Elapsed time: 1086.264s, Critical Path: 195.24s
INFO: 2515 processes: 2202 local, 313 worker.
INFO: Build completed successfully, 4264 total actions

@kramasamy
Copy link
Contributor

@nlu90 - you don't need BUILD, *.tar.gz and empty.cc at all. All you need cereal.BUILD - nothing else.

@kramasamy
Copy link
Contributor

Those files can be safely removed.

@nlu90 nlu90 merged commit d135746 into apache:master Aug 20, 2018
@kramasamy
Copy link
Contributor

@nlu90 - the files BUILD, empty.cc can be removed.

@nlu90 nlu90 mentioned this pull request Aug 20, 2018
sreev pushed a commit to sreev/incubator-heron that referenced this pull request Sep 2, 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