Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
04d81e2a
Commit
04d81e2a
authored
Sep 08, 2015
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support clang + debug iojs fail
parent
c08329bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
build_against_node.sh
scripts/build_against_node.sh
+8
-6
No files found.
scripts/build_against_node.sh
View file @
04d81e2a
...
...
@@ -12,7 +12,7 @@ function publish() {
}
# test installing from source
npm install
--build-from-source
npm install
--build-from-source
--clang
=
1
npm
test
publish
...
...
@@ -20,9 +20,9 @@ publish
# now test building against shared sqlite
if
[[
$(
uname
-s
)
==
'Darwin'
]]
;
then
brew install sqlite
npm install
--build-from-source
--sqlite
=
$(
brew
--prefix
)
npm install
--build-from-source
--sqlite
=
$(
brew
--prefix
)
--clang
=
1
else
npm install
--build-from-source
--sqlite
=
/usr
npm install
--build-from-source
--sqlite
=
/usr
--clang
=
1
fi
npm
test
...
...
@@ -45,10 +45,12 @@ if [[ $(uname -s) == 'Linux' ]]; then
# enable 32 bit node
export
PATH
=
$(
pwd
)
/node-
${
NVER
}
-
${
platform
}
-x86
/bin:
$(
pwd
)
/node-
${
NVER
}
-
${
platform
}
-ia32
/bin:
$PATH
fi
node
-e
"console.log(process.arch,process.execPath)"
which node
ls
-l
$(
which node
)
#node -e "console.log(process.arch,process.execPath)"
# install 32 bit compiler toolchain and X11
# test source compile in 32 bit mode with internal libsqlite3
CC
=
gcc-4.6
CXX
=
g++-4.6 npm install
--build-from-source
CC
=
gcc-4.6
CXX
=
g++-4.6 npm install
--build-from-source
--clang
=
1
node-pre-gyp package testpackage
npm
test
publish
...
...
@@ -56,7 +58,7 @@ if [[ $(uname -s) == 'Linux' ]]; then
# broken for some unknown reason against io.js
if
[[
${
NODE_VERSION
:0:4
}
!=
'iojs'
]]
;
then
# test source compile in 32 bit mode against external libsqlite3
CC
=
gcc-4.6
CXX
=
g++-4.6 npm install
--build-from-source
--sqlite
=
/usr
CC
=
gcc-4.6
CXX
=
g++-4.6 npm install
--build-from-source
--sqlite
=
/usr
--clang
=
1
npm
test
fi
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment