[Bug 1258182] Review Request: go-compilers - Go language compilers for various architectures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1258182



--- Comment #1 from Jan Chaloupka <jchaloup@xxxxxxxxxx> ---
After discussion with Jakub, compile.sh removed, definition of gobuild and
gotest moved to macros. macros.go-compilers now contains:

%gobuild() \
function gobuild { \
local LDFLAGS="${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d '
\\n')" \
go build -compiler gc    -ldflags "${LDFLAGS:-}" -a -v -x "$@"; \
} \
gobuild %{*}

%gotest() \
function gotest { go test -compiler gc    -ldflags "${LDFLAGS:-}" "$@"; } \
gotest %{*}

Use:
%{gobuild} -o bin/go-md2man %{import_path}
%{gotest} %{import_path}

%{gobuild} can be used multiple times as gobuild function is only redefined.
The same holds for %{gotest}. At the moment, the package ships only
macros.go-compilers file.

Spec URL:
https://jchaloup.fedorapeople.org/reviews/go-compilers/go-compilers.spec

SRPM URL:
https://jchaloup.fedorapeople.org/reviews/go-compilers/go-compilers-1-1.fc20.src.rpm

koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=10894598
ppc-koji: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2726756
s390-koji: http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1939913

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]