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

The p4c driver references the build directory #501

Closed
sethfowler opened this issue Apr 20, 2017 · 0 comments
Closed

The p4c driver references the build directory #501

sethfowler opened this issue Apr 20, 2017 · 0 comments
Assignees

Comments

@sethfowler
Copy link
Contributor

The version of the p4c driver program we install includes this line which references the build directory:

sys.path.insert(1, '/p4c/build')

This makes it fail to start if you delete the build directory from your system.

It's a bug in the Makefile; we should fix it.

cc10512 pushed a commit to cc10512/p4c that referenced this issue May 21, 2017
Remove the autoconf variables and base p4c on its current directory.
Handle both the developer installation and the binary installation.

Fixes p4lang#501

Remove the current directory from the path, and provide an explicit
variable to find the compilers. This avoids issues with running
obsolete versions of the compiler.

Fixes p4lang#502
cc10512 pushed a commit to cc10512/p4c that referenced this issue May 23, 2017
Remove the autoconf variables and base p4c on its current directory.
Handle both the developer installation and the binary installation.

Fixes p4lang#501

Remove the current directory from the path, and provide an explicit
variable to find the compilers. This avoids issues with running
obsolete versions of the compiler.

Fixes p4lang#502
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants