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

Update build.sh #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AlbertoCasasOrtiz
Copy link
Collaborator

In Ubuntu 22.04, you can install swig 4.0.2 using the package manager, but the current approach is only detecting swig installed in ~/swig. With these changes, it can work following both approaches.

Brief summary of changes

I've modified the script in a way that first checks if swig 4.0.2 has been installed using the package manager. If so, it uses it. If it has not been installed using the package manager, it follows the same approach as before.

Testing I've completed

This has passed CI in my fork (which proves it works if swig is installed manually inside of ~/swig) and in my local computer (which proves it works using the swig installed using the package manager).

Looking for feedback on...

Is the SWIG_EXE_SPEC path correct in mac? The current path assigned is the one established by default before my changes.

If you install swig using the package manager, it is not detected in Ubuntu since it is looking for it in ~/swig/
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

Successfully merging this pull request may close these issues.

1 participant