Compare commits
7 Commits
09c696d94b
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2bbeea7bfb | ||
|
|
fe4d6e8cc4 | ||
| a19b42aa02 | |||
| 5042becb49 | |||
| c130aef4f0 | |||
|
|
2388f4d202 | ||
|
|
73619f1cbf |
@@ -1,7 +1,9 @@
|
||||
# Mozzarella
|
||||
|
||||
fully automatic Mozilla builds and downloads
|
||||
fully automatic Mozilla builds (just spidermonkey right now)
|
||||
|
||||
(intended specifically for val's earth modding support)
|
||||
Powered by [Nix](https://nixos.org/)
|
||||
|
||||
coming soon...
|
||||
builds pertinent to val's earth (but potentially useful otherwise) are located at [apexfight.net](https://mozzarella.apexfight.net/)
|
||||
|
||||
(intended specifically for val's earth modding support, but if you're here then feel free to use it for whatever)
|
||||
|
||||
18
src/build.sh
18
src/build.sh
@@ -25,7 +25,7 @@ echo $BUILDPATH
|
||||
|
||||
#unzip this or something
|
||||
echo Downloading...
|
||||
#curl -RO "$DOWNLOAD"
|
||||
curl -RO "$DOWNLOAD"
|
||||
echo Unzipping Source...
|
||||
tar -xJf "firefox-$VERSION.source.tar.xz"
|
||||
|
||||
@@ -35,19 +35,23 @@ cd "firefox-$MINORVERSION/js/src"
|
||||
echo Making Build Path...
|
||||
mkdir _build
|
||||
cd _build
|
||||
|
||||
# https://clang.llvm.org/docs/CrossCompilation.html
|
||||
echo Configuring build...
|
||||
../configure --disable-jemalloc --with-system-zlib --with-system-icu --prefix="$BUILDPATH/bin" \
|
||||
--with-intl-api --enable-optimize
|
||||
../configure --disable-jemalloc --with-system-zlib --with-system-icu --prefix="$BUILDPATH/bin" --with-intl-api --enable-optimize --target=x86_64-pc-linux-gnu
|
||||
|
||||
|
||||
echo Compiling...
|
||||
make
|
||||
make install
|
||||
make -k
|
||||
make -k install
|
||||
|
||||
echo Finished Building!
|
||||
|
||||
cd $BUILDPATH/bin/include
|
||||
|
||||
# Compress and get hash
|
||||
echo Compressing build fragment...
|
||||
tar -cJf $VERSION.tar.xz mozjs-$MAJORVERSION/
|
||||
echo Calculating sum of fragment...
|
||||
sha256sum $VERSION.tar.xz > $VERSION.tar.xz.sha256
|
||||
|
||||
echo Moving fragments to output
|
||||
mv $VERSION.tar.xz $VERSION.tar.xz.sha256 $OUTPUT
|
||||
Reference in New Issue
Block a user