[P4-dev] new p4c compiler

hemant at mnkcg.com hemant at mnkcg.com
Fri Aug 18 15:49:00 EDT 2017

That worked - thanks so much for the expedited reply! 




From: Mihai Budiu [mailto:mbudiu at vmware.com] 
Sent: Friday, August 18, 2017 3:41 PM
To: hemant at mnkcg.com; 'p4-dev' <p4-dev at lists.p4.org>
Subject: RE: [P4-dev] new p4c compiler


You can probably just run


cmake ..




From: hemant at mnkcg.com <mailto:hemant at mnkcg.com> 
Sent: Friday, August 18, 2017 12:15
To: 'p4-dev' <mailto:p4-dev at lists.p4.org> 
Subject: [P4-dev] new p4c compiler


I downloaded the p4c compiler today and was shocked to see that its past
"configure", the "build" directory etc. are all gone.  Now the compiler
wants the user to create the "build" directory and then invoke the following
cmake command.  


[-DENABLE_DOCS=ON (default off)] [-DENABLE_P4RUNTIME_TO_PD=OFF (default on)]


What is CMAKE_INSTALL_PREFIX so that one can figure out what path to
provide?  Is the path where cmake is installed?  Further, the cmake on my
Ubuntu 16.04 fails with "bash: syntax error near unexpected token '('.   


At least, an example of cmake with a "<path>"  should be included in the
README so that folks can get an idea.  


This version of the compiler is really not usable.   Please help.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20170818/1388a140/attachment-0002.html>

More information about the P4-dev mailing list