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

[javascript] Add TI_EMSCRIPTENED to cmake options (JS 1/n) #4093

Merged
merged 1 commit into from
Jan 24, 2022

Conversation

AmesingFlank
Copy link
Collaborator

Related issue = #3781

Having received positive results in my own experimentations, I'm confident of feasibility of implementing a version of taichi in pure Javascript. I'd like to start merging PRs that prepare for this project. These PRs doesn't implement any real functionalities, instead, they only serve the following two purposes:

  • Enable the existing Taichi code base to be built into a JS library, via emscripten
  • Export the APIs necessary for the js frontend, via embind

Once these PRs are merged, one will be able to build a .js library of taichi, simply by setting the TI_EMSCRIPTENED cmake option.

This is the 1st of a series of PRs. It adds the TI_EMSCRIPTENED option and the cmake logic for it.

@vercel
Copy link

vercel bot commented Jan 24, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/taichi-api-docs-preview/taichi/6Q3ofnrwV9PWeBSSH69q7FFuAmyG
✅ Preview: Canceled

@netlify
Copy link

netlify bot commented Jan 24, 2022

✔️ Deploy Preview for docsite-preview canceled.

🔨 Explore the source changes: a7a6a54

🔍 Inspect the deploy log: https://app.netlify.com/sites/docsite-preview/deploys/61edfaf0ee9e9c0008dce37b

@ailzhang ailzhang changed the title [javascript] Add TI_EMSCRIPTENED cmake option (JS 1/n) [javascript] Add TI_EMSCRIPTENED to cmake options (JS 1/n) Jan 24, 2022
Copy link
Contributor

@ailzhang ailzhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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.

2 participants