google / google/autofdo

Building didn't work due to wrong versions

Open
#132 15 comments 0 reactions 1 assignee Claimed by @shenhanc78 View on GitHub
Dominant language
C++
Stars
619
Forks
127
PR merge metrics
No merged PRs in 30d

Description

Hello, I have been struggling for a day or so with building the code using LLVM.
The ninja command for building autofdo showed the following:
`class llvm::Expected’ has no member named ‘getValue’`
and:
`glog/glog/logging.h:654:9: error: ambiguous overload for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream’} and ‘std::nullptr_t’)`

I realized that in order to make it work llvm needs to be version 10 as newer versions won't work, I found that changes needed to be done in other repos that experienced the same issue as the LLVM code was changed.
And glog need to be version 0.5 as the issue is fixed on PR 646, which is merged only on that version.

The way the instructions are written right now doesn't work.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.