Commit 04d81e2a by Dane Springmeyer

support clang + debug iojs fail

parent c08329bb
...@@ -12,7 +12,7 @@ function publish() { ...@@ -12,7 +12,7 @@ function publish() {
} }
# test installing from source # test installing from source
npm install --build-from-source npm install --build-from-source --clang=1
npm test npm test
publish publish
...@@ -20,9 +20,9 @@ publish ...@@ -20,9 +20,9 @@ publish
# now test building against shared sqlite # now test building against shared sqlite
if [[ $(uname -s) == 'Darwin' ]]; then if [[ $(uname -s) == 'Darwin' ]]; then
brew install sqlite brew install sqlite
npm install --build-from-source --sqlite=$(brew --prefix) npm install --build-from-source --sqlite=$(brew --prefix) --clang=1
else else
npm install --build-from-source --sqlite=/usr npm install --build-from-source --sqlite=/usr --clang=1
fi fi
npm test npm test
...@@ -45,10 +45,12 @@ if [[ $(uname -s) == 'Linux' ]]; then ...@@ -45,10 +45,12 @@ if [[ $(uname -s) == 'Linux' ]]; then
# enable 32 bit node # enable 32 bit node
export PATH=$(pwd)/node-${NVER}-${platform}-x86/bin:$(pwd)/node-${NVER}-${platform}-ia32/bin:$PATH export PATH=$(pwd)/node-${NVER}-${platform}-x86/bin:$(pwd)/node-${NVER}-${platform}-ia32/bin:$PATH
fi 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 # install 32 bit compiler toolchain and X11
# test source compile in 32 bit mode with internal libsqlite3 # 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 node-pre-gyp package testpackage
npm test npm test
publish publish
...@@ -56,7 +58,7 @@ if [[ $(uname -s) == 'Linux' ]]; then ...@@ -56,7 +58,7 @@ if [[ $(uname -s) == 'Linux' ]]; then
# broken for some unknown reason against io.js # broken for some unknown reason against io.js
if [[ ${NODE_VERSION:0:4} != 'iojs' ]]; then if [[ ${NODE_VERSION:0:4} != 'iojs' ]]; then
# test source compile in 32 bit mode against external libsqlite3 # 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 npm test
fi fi
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment