Skip to content

Commit

Permalink
update Sparc builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Herm Fischer committed Jun 23, 2014
1 parent b7d7800 commit 2c6c382
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 1 deletion.
49 changes: 49 additions & 0 deletions buildSol10Sun4Dist-64bit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/bin/sh

# this file must have unix newlines (to prevent extraneous errors when running)
# must run sudo on ubuntu

PYTHON=python3.2

# create version with date and a shell file to name output with the date
${PYTHON} buildVersion.py

BUILT64=exe.solaris-2.10-sun4v.64bit-3.2

if [ -d build/${BUILT64} ]
then
rm -fR build/${BUILT64}
fi
mkdir build/${BUILT64}

if [ ! -d dist ]
then
mkdir dist
fi

# run cx_Freeze setup
${PYTHON} setup.py build
cp arelle/scripts-unix/* build/${BUILT64}

cd build/${BUILT64}

# for now there's no tkinter on solaris sun4 (intended for server only)
# rm arelleGUI

# add missing libraries
cp /usr/local/lib/sparcv9/libintl* .

tar -cf ../../dist/${BUILT64}.tar .
gzip ../../dist/${BUILT64}.tar
cd ../..

# add arelle into SEC XBRL.JAR
cd build
mv ${BUILT64} arelle
cp /export/home/slee/Documents/vm-files/XBRL.JAR ../dist
jar uf ../dist/XBRL.JAR arelle
mv arelle ${BUILT64}
cd ..

/bin/sh buildRenameSol10Sun4.sh
# rm -R build2
13 changes: 12 additions & 1 deletion buildSol10Sun4Dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ BUILT64=exe.solaris-2.10-sun4v-3.1

if [ -d build/${BUILT64} ]
then
rm -R build/${BUILT64}
rm -fR build/${BUILT64}
fi
mkdir build/${BUILT64}

Expand All @@ -30,9 +30,20 @@ cd build/${BUILT64}
# for now there's no tkinter on solaris sun4 (intended for server only)
# rm arelleGUI

# add missing libraries
cp /usr/local/lib/libintl* .

tar -cf ../../dist/${BUILT64}.tar .
gzip ../../dist/${BUILT64}.tar
cd ../..

# add arelle into SEC XBRL.JAR
cd build
mv ${BUILT64} arelle
cp /export/home/slee/Documents/vm-files/XBRL.JAR ../dist
jar uf ../dist/XBRL.JAR arelle
mv arelle ${BUILT64}
cd ..

/bin/sh buildRenameSol10Sun4.sh
# rm -R build2

0 comments on commit 2c6c382

Please sign in to comment.