Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
419d55e8
Commit
419d55e8
authored
Aug 18, 2017
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc/cgo/test: make cgo tests run on AIX
Reviewed-on:
https://go-review.googlesource.com/56910
From-SVN: r251182
parent
3e7b80d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
gcc/go/gofrontend/MERGE
+1
-1
libgo/misc/cgo/test/cthread_unix.c
+1
-1
libgo/misc/cgo/test/issue18146.go
+2
-0
No files found.
gcc/go/gofrontend/MERGE
View file @
419d55e8
9ff49c64ea6dbb5e08d1fa859b99b06049413279
28e49825162465172ed706283628bf5cc1996260
The first line of this file holds the git revision number of the last
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
merge done from the gofrontend repository.
libgo/misc/cgo/test/cthread_unix.c
View file @
419d55e8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
// +build
aix
darwin dragonfly freebsd linux netbsd openbsd solaris
#include <pthread.h>
#include <pthread.h>
#include "_cgo_export.h"
#include "_cgo_export.h"
...
...
libgo/misc/cgo/test/issue18146.go
View file @
419d55e8
...
@@ -50,6 +50,8 @@ func test18146(t *testing.T) {
...
@@ -50,6 +50,8 @@ func test18146(t *testing.T) {
nproc
=
6
nproc
=
6
case
"darwin"
,
"dragonfly"
,
"freebsd"
,
"netbsd"
,
"openbsd"
:
case
"darwin"
,
"dragonfly"
,
"freebsd"
,
"netbsd"
,
"openbsd"
:
nproc
=
7
nproc
=
7
case
"aix"
:
nproc
=
9
}
}
if
setNproc
{
if
setNproc
{
var
rlim
syscall
.
Rlimit
var
rlim
syscall
.
Rlimit
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment