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

Latest build instructions? #326

Closed
AnyhowStep opened this issue Jan 12, 2020 · 1 comment
Closed

Latest build instructions? #326

AnyhowStep opened this issue Jan 12, 2020 · 1 comment

Comments

@AnyhowStep
Copy link

I've tried building the SQLite source on my own but noticed I'm getting a different dist output from what's in this repository.

Am I using the wrong version of emsdk?

In emsdk,

emsdk install latest
emsdk activate latest
source ./emsdk_env.sh

In sql.js,

npm run rebuild

Then,

git status

And my output,

On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   dist/sql-asm-debug.js
	modified:   dist/sql-asm-memory-growth.js
	modified:   dist/sql-asm.js
	modified:   dist/sql-wasm-debug.js
	modified:   dist/sql-wasm-debug.wasm
	modified:   dist/sql-wasm.js
	modified:   dist/sql-wasm.wasm
	modified:   dist/worker.sql-asm-debug.js
	modified:   dist/worker.sql-asm.js
	modified:   dist/worker.sql-wasm-debug.js
	modified:   dist/worker.sql-wasm.js

It seems like my emsdk versions are,

         1.39.5
         1.39.5-fastcomp
@lovasoa
Copy link
Member

lovasoa commented Jan 12, 2020

We hope to delete the dist folder when we can. We have discussed it before in https://github.com/kripken/sql.js/pull/298

You can see the full build configuration in https://github.com/kripken/sql.js/blob/master/.github/workflows/release.yml

And the result in https://github.com/kripken/sql.js/releases

@lovasoa lovasoa closed this as completed Jan 12, 2020
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