Skip to content

Commit b76b911

Browse files
committed
Use fixed libchdb.so path
1 parent 8ccfb7c commit b76b911

File tree

4 files changed

+4
-35
lines changed

4 files changed

+4
-35
lines changed

.github/workflows/chdb-node-test.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ jobs:
3131
registry-url: 'https://registry.npmjs.org'
3232
- name: Install dependencies
3333
run: npm install
34-
- name: Build libchdb
35-
run: npm run libchdb
36-
- name: Build project
37-
run: npm run build
3834
- name: Run tests
3935
run: npm run test
4036
- name: Publish to npm

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ build
44
/user_defined
55
.vscode/
66
libchdb.so
7+
chdb.h

binding.gyp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"<!@(node -p \"require('node-addon-api').include\")",
1111
"."
1212
],
13-
"libraries": [ "-L<(module_root_dir)/", "-lchdb" ],
14-
# "cflags!": [ "-fno-exceptions" ],
15-
# "cflags_cc!": [ "-fno-exceptions" ],
13+
"libraries": [ "<(module_root_dir)/libchdb.so" ],
14+
"cflags!": [ "-fno-exceptions" ],
15+
"cflags_cc!": [ "-fno-exceptions" ],
1616
"defines": [ "NAPI_DISABLE_CPP_EXCEPTIONS" ]
1717
}
1818
]

lib/chdb.h

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)