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

MacOSX: Support building Certifier Framework (library and Certifier tests) on Mac/OSX. #177

Open
gapisback opened this issue Aug 14, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@gapisback
Copy link
Collaborator

The Certifier Framework code base only partially builds on MacOSX. This requires that the right versions of Google protocol buffers, protoc, and other libraries be installed on Mac.

Currently, on /main, using Cellar/protobuf@3/3.20.3 version of protobuf, we get some ways in the build, but then fails as shown below [1].

Under this issue, resolve all s/w components' version-levels needed to build-and-test Certifier code base on Mac.

[1] Build failure:

compiling certifier_proofs.cc
g++ -I ../include -I/usr/local/opt/[email protected]/include/ -I ./sev-snp -g -Wall -std=c++11 -Wno-unused-variable -D X64 -Wno-deprecated-declarations -O3 -D SEV_SNP  -o ./certifier_proofs.o -c certifier_proofs.cc
In file included from certifier_proofs.cc:23:
./sev-snp/attestation.h:7:12: fatal error: 'linux/types.h' file not found
#  include <linux/types.h>
           ^~~~~~~~~~~~~~~
1 error generated.
make: *** [certifier_proofs.o] Error 1
@gapisback gapisback self-assigned this Aug 14, 2023
@gapisback gapisback added the enhancement New feature or request label Aug 14, 2023
@gapisback
Copy link
Collaborator Author

9/25/2024: Revisited w/ team and new members who joined the CFCC monthly meeting.

No immediate push for this MacOSX platform, but will be nice to have this working so it saves new users the extra effort / cost of deploying a Linux env somewhere else on the Cloud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant