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:
parent
9dbaab54d1
commit
eab46c6ef4
@ -5,3 +5,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -f $GOROOT/pkg/*
|
||||
|
||||
cd math
|
||||
bash clean.bash
|
||||
cd ..
|
||||
|
@ -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
7
src/lib/math/clean.bash
Normal 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
9
src/lib/math/make.bash
Normal 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
|
Loading…
Reference in New Issue
Block a user