-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR #20084, commits were: * perform a bit of cleanup * is this building anything? * correct the build script * run build.sh first * try building the GO programs * Update meta.yaml * Update meta.yaml * Entrez direct is not architecture independent. Turns out Entrez direct is not architecture-independent. Some tools are written in go, for example xtract (the author may migrate even more) #17783
- Loading branch information
Showing
2 changed files
with
52 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,22 @@ | ||
#!/bin/bash | ||
|
||
mv * "$PREFIX/bin/" | ||
go get -u github.com/fatih/color | ||
go get -u github.com/fiam/gounidecode/unidecode | ||
go get -u github.com/klauspost/cpuid | ||
go get -u github.com/pbnjay/memory | ||
go get -u github.com/surgebase/porter2 | ||
go get -u golang.org/x/text/runes | ||
go get -u golang.org/x/text/transform | ||
go get -u golang.org/x/text/unicode/norm | ||
|
||
go build -o xtract xtract.go common.go | ||
go build -o rchive rchive.go common.go | ||
|
||
mkdir -p $PREFIX/bin | ||
mv * $PREFIX/bin | ||
mkdir -p "$PREFIX/home" | ||
export HOME="$PREFIX/home" | ||
sh ${PREFIX}/bin/setup.sh | ||
|
||
# clean up | ||
rm -rf $PREFIX/bin/src $PREFIX/bin/*.log $PREFIX/bin/*.go $PREFIX/bin/*.yaml $PREFIX/bin/*.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters