-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Use common include directory for all ports #9983
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
Conversation
114ba7d to
2afe56a
Compare
kripken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, although I am slightly worried we may not have enough test coverage to catch corner cases in all the ports...
embuilder.py
Outdated
| help='force rebuild of target (by removing it first)') | ||
| parser.add_argument('operation') | ||
| parser.add_argument('targets', nargs='+') | ||
| parser.add_argument('operation', help='currnetly only "build" is supported') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo in currently
| includes = [i.strip() for i in includes.splitlines()[1:-1]] | ||
| for i in includes: | ||
| self.assertContained(path_from_root('system'), i) | ||
| if shared.Cache.dirname in i: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this isn't clear to me. perhaps a comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry this isn't best test in the world. Adding a comment.
We already use a common "lib" directory to install al the libs. This change simply installs headers in the same common "sysroot". This makes the ports install more like normall "make install" scripts would. The only port I didn't include here was cocos2d because it seemed a little overwhelming.
|
Added a ChangeLog entry since this change could be user visible in some cases. |
94067bc to
b8d95e3
Compare
Also add basic sdl2_mixer test outside of browser tests that just tests for successful compilation. Fixes #10015
Also add basic sdl2_mixer test outside of browser tests that just tests for successful compilation. Fixes #10015
This isn't necessary anymore since emscripten-core#9983 / 5d222c1 (common include/ directory).
We already use a common "lib" directory to install all the libs. This change simply installs headers in the same common "sysroot". This makes the ports install more like normal "make install" scripts would.
…ten-core#10021) Also add basic sdl2_mixer test outside of browser tests that just tests for successful compilation. Fixes emscripten-core#10015
We already use a common "lib" directory to install al the libs. This
change simply installs headers in the same common "sysroot".
This makes the ports install more like normall "make install" scripts
would.
The only port I didn't include here was cocos2d because it seemed a
little overwhelming.