Skip Protoc creation to avoid TVOS execv and fork error

26 views
Skip to first unread message

Pedro Marques da Silva

unread,
Mar 24, 2021, 7:00:36 AM3/24/21
to Protocol Buffers
Hi, 

I would like to know if there is a way of skipping the build of Protoc executable and only build the libraries. 

I am building for TVOS and execv and fork does not exists, but in fact I really do not need to build protoc. 

I managed to delete some entries in Makefile.in and build only the libraries but this way It will be hard to keep this in CICD pipelines when we need to update manually to remove Protoc from the build process for TVOS

Best
Pedro

Pedro Marques da Silva

unread,
Apr 6, 2021, 9:22:23 AM4/6/21
to Protocol Buffers
I was able to build properly using CMAKE: 

https://gist.github.com/posilva/096743c485fa4c7652db72bbf7647c94

For future reference

Reply all
Reply to author
Forward
0 new messages