1
0
mirror of https://github.com/golang/go synced 2024-11-11 18:21:40 -07:00

include math in standard build

R=ken
OCL=14811
CL=14811
This commit is contained in:
Rob Pike 2008-09-04 13:09:49 -07:00
parent 9dbaab54d1
commit eab46c6ef4
4 changed files with 27 additions and 0 deletions

View File

@ -5,3 +5,7 @@
#!/bin/bash
rm -f $GOROOT/pkg/*
cd math
bash clean.bash
cd ..

View File

@ -13,3 +13,10 @@ do
echo 6g -o $GOROOT/pkg/$base.6 $i
6g -o $GOROOT/pkg/$base.6 $i
done
echo; echo; echo %%%% making lib/math %%%%; echo
cd math
bash make.bash
cd ..

7
src/lib/math/clean.bash Normal file
View File

@ -0,0 +1,7 @@
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
#!/bin/bash
rm -f 6.out *.6 math.a

9
src/lib/math/make.bash Normal file
View File

@ -0,0 +1,9 @@
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
#!/bin/bash
# should probably just be a makefile
bash g1 && cp math.a $GOROOT/pkg/math.a