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
51e557d5
Commit
51e557d5
authored
Feb 10, 2015
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apply patch from @fengmk2 for iojs 32 bit build support - refs #399
parent
869d9e5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
build_against_node.sh
scripts/build_against_node.sh
+11
-2
No files found.
scripts/build_against_node.sh
View file @
51e557d5
...
...
@@ -51,10 +51,19 @@ if [[ $(uname -s) == 'Linux' ]]; then
# node v0.8 and above provide pre-built 32 bit and 64 bit binaries
# so here we use the 32 bit ones to also test 32 bit builds
NVER
=
`
node
-v
`
wget http://nodejs.org/dist/
${
NVER
}
/node-
${
NVER
}
-
${
platform
}
-x86
.tar.gz
tar
xf node-
${
NVER
}
-
${
platform
}
-x86
.tar.gz
# enable 32 bit node
export
PATH
=
$(
pwd
)
/node-
${
NVER
}
-
${
platform
}
-x86
/bin:
$PATH
if
[[
${
NODE_VERSION
:0:4
}
==
'iojs'
]]
;
then
wget http://iojs.org/dist/
${
NVER
}
/iojs-
${
NVER
}
-
${
platform
}
-x86
.tar.gz
tar
xf iojs-
${
NVER
}
-
${
platform
}
-x86
.tar.gz
# enable 32 bit iojs
export
PATH
=
$(
pwd
)
/iojs-
${
NVER
}
-
${
platform
}
-x86
/bin:
$PATH
else
wget http://nodejs.org/dist/
${
NVER
}
/node-
${
NVER
}
-
${
platform
}
-x86
.tar.gz
tar
xf node-
${
NVER
}
-
${
platform
}
-x86
.tar.gz
# enable 32 bit node
export
PATH
=
$(
pwd
)
/node-
${
NVER
}
-
${
platform
}
-x86
/bin:
$PATH
fi
# 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
...
...
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