Skip to content

Set LIBC_INCLUDE_DIRECTORY for WASM to build SwiftGlibc properly #9

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

Merged

Conversation

kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Oct 27, 2019

LIBC_INCLUDE_DIRECTORY is used to generate glibc.modulemap.
Currently the directory is set /usr/include but it's system header path and we should use wasi-sdk version.

@MaxDesiatov
Copy link

@kateinoigakukun seems legit, thanks!

@MaxDesiatov MaxDesiatov merged commit b191b7c into swiftwasm:swiftwasm Oct 27, 2019
@MaxDesiatov MaxDesiatov changed the title [WASM] Set LIBC_INCLUDE_DIRECTORY for WASM to build SwiftGlibc properly Set LIBC_INCLUDE_DIRECTORY for WASM to build SwiftGlibc properly Oct 27, 2019
MaxDesiatov pushed a commit that referenced this pull request Nov 14, 2019
…ly (#9)

`LIBC_INCLUDE_DIRECTORY` is used to generate `glibc.modulemap`.
Currently the directory is set `/usr/include` but it's system header path and we should use `wasi-sdk` version.
@MaxDesiatov MaxDesiatov added the bug Something isn't working label Nov 17, 2019
kateinoigakukun added a commit that referenced this pull request Dec 15, 2019
…ly (#9)

`LIBC_INCLUDE_DIRECTORY` is used to generate `glibc.modulemap`.
Currently the directory is set `/usr/include` but it's system header path and we should use `wasi-sdk` version.
kateinoigakukun added a commit that referenced this pull request Jan 11, 2020
…ly (#9)

`LIBC_INCLUDE_DIRECTORY` is used to generate `glibc.modulemap`.
Currently the directory is set `/usr/include` but it's system header path and we should use `wasi-sdk` version.
@kateinoigakukun kateinoigakukun deleted the katei/fix-build-glibc branch January 28, 2020 12:43
MaxDesiatov pushed a commit that referenced this pull request Jan 29, 2020
…ly (#9)

`LIBC_INCLUDE_DIRECTORY` is used to generate `glibc.modulemap`.
Currently the directory is set `/usr/include` but it's system header path and we should use `wasi-sdk` version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants