Overview
| Comment: | Use TCLSH_NATIVE only when cross-compiling (as indicated by KC_CROSSCOMPILE) |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
40706ce9b43d35b7264b861a96d34887 |
| User & Date: | ssoberni on 2015-10-23 20:09:18 |
| Other Links: | manifest | tags |
Context
|
2015-10-23
| ||
| 20:43 | Give it another try. Mac builds are cross-compilations check-in: df5accddbb user: ssoberni tags: trunk | |
| 20:09 | Use TCLSH_NATIVE only when cross-compiling (as indicated by KC_CROSSCOMPILE) check-in: 40706ce9b4 user: ssoberni tags: trunk | |
|
2015-10-15
| ||
| 14:21 | Added NSF build script check-in: 2ae580efcd user: rkeene tags: trunk | |
Changes
Modified nsf/build.sh from [15ddc9112c] to [756d463b89].
| ︙ | ︙ | |||
100 101 102 103 104 105 106 |
cat configure.new > configure
rm -f configure.new
(
# Build
echo "Running: ./configure $tryopt --disable-symbols --prefix=\"${INSTDIR}\" --exec-prefix=\"${INSTDIR}\" --libdir=\"${INSTDIR}/lib\" --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"
./configure $tryopt --disable-symbols --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --libdir="${INSTDIR}/lib" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
| | > > | | | | | > > > > > > > | 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
cat configure.new > configure
rm -f configure.new
(
# Build
echo "Running: ./configure $tryopt --disable-symbols --prefix=\"${INSTDIR}\" --exec-prefix=\"${INSTDIR}\" --libdir=\"${INSTDIR}/lib\" --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"
./configure $tryopt --disable-symbols --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --libdir="${INSTDIR}/lib" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
if [ "${KC_CROSSCOMPILE}" = '1' ]; then
## Cross-compiling, use TCLSH_NATIVE
echo "Running: ${MAKE:-make} TCLSH=${TCLSH_NATIVE}"
${MAKE:-make} TCLSH=${TCLSH_NATIVE} || exit 1
echo "Running: ${MAKE:-make} install TCLSH=${TCLSH_NATIVE}"
${MAKE:-make} install TCLSH=${TCLSH_NATIVE} || exit 1
else
echo "Running: ${MAKE:-make}"
${MAKE:-make} || exit 1
echo "Running: ${MAKE:-make} install"
${MAKE:-make} install || exit 1
fi
) || continue
break
done
mkdir "${OUTDIR}/lib" || exit 1
|
| ︙ | ︙ |