Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit --cxxopt='-std=c++14' to Linux builds #1122

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

thii
Copy link
Member

@thii thii commented Oct 11, 2023

This is already set by Apple C++ toolchain.

@thii thii force-pushed the t/remove-cxxopt-std-c-14-from-.bazelrc branch from dcbf2e0 to b97bc0c Compare October 11, 2023 11:10
This is already set by Apple C++ toolchain.
@thii thii force-pushed the t/remove-cxxopt-std-c-14-from-.bazelrc branch from b97bc0c to 99edf0d Compare October 11, 2023 11:19
@thii thii changed the title Remove --cxxopt='-std=c++14' from .bazelrc Limit --cxxopt='-std=c++14' to Linux builds Oct 11, 2023
@thii thii marked this pull request as ready for review October 11, 2023 11:34
@thii thii merged commit 157e825 into master Oct 11, 2023
15 checks passed
@thii thii deleted the t/remove-cxxopt-std-c-14-from-.bazelrc branch October 11, 2023 22:29
cgrindel-self-hosted-renovate bot added a commit to cgrindel/rules_swiftformat that referenced this pull request Oct 19, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [build_bazel_rules_swift](https://togithub.com/bazelbuild/rules_swift)
| http_archive | minor | `1.12.0` -> `1.13.0` |

---

### Release Notes

<details>
<summary>bazelbuild/rules_swift (build_bazel_rules_swift)</summary>

###
[`v1.13.0`](https://togithub.com/bazelbuild/rules_swift/releases/tag/1.13.0)

[Compare
Source](https://togithub.com/bazelbuild/rules_swift/compare/1.12.0...1.13.0)

##### What's Changed

- Fixed "name 'visibility' is not defined" error on Bazel 5 by
[@&#8203;jesses-canva](https://togithub.com/jesses-canva) in
[bazelbuild/rules_swift#1117
- Limited `--cxxopt='-std=c++14'` to Linux builds by
[@&#8203;thii](https://togithub.com/thii) in
[bazelbuild/rules_swift#1122
- Add SwiftGRPCInfo provider by
[@&#8203;AttilaTheFun](https://togithub.com/AttilaTheFun) in
[bazelbuild/rules_swift#1121

This release is compatible with 5.x LTS, 6.x LTS, and bazel 7.x rolling
releases

##### MODULE.bazel Snippet

```bzl
bazel_dep(name = "rules_swift", version = "1.13.0", repo_name = "build_bazel_rules_swift")
```

##### Workspace Snippet

```bzl
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_swift",
    sha256 = "28a66ff5d97500f0304f4e8945d936fe0584e0d5b7a6f83258298007a93190ba",
    url = "https://github.com/bazelbuild/rules_swift/releases/download/1.13.0/rules_swift.1.13.0.tar.gz",
)

load(
    "@&#8203;build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@&#8203;build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()
```

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDAuMCIsInVwZGF0ZWRJblZlciI6IjM2LjEwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
renovate bot added a commit to bazel-contrib/rules_bazel_integration_test that referenced this pull request Oct 20, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [build_bazel_rules_swift](https://togithub.com/bazelbuild/rules_swift)
| http_archive | minor | `1.12.0` -> `1.13.0` |

---

### Release Notes

<details>
<summary>bazelbuild/rules_swift (build_bazel_rules_swift)</summary>

###
[`v1.13.0`](https://togithub.com/bazelbuild/rules_swift/releases/tag/1.13.0)

[Compare
Source](https://togithub.com/bazelbuild/rules_swift/compare/1.12.0...1.13.0)

#### What's Changed

- Fixed "name 'visibility' is not defined" error on Bazel 5 by
[@&#8203;jesses-canva](https://togithub.com/jesses-canva) in
[bazelbuild/rules_swift#1117
- Limited `--cxxopt='-std=c++14'` to Linux builds by
[@&#8203;thii](https://togithub.com/thii) in
[bazelbuild/rules_swift#1122
- Add SwiftGRPCInfo provider by
[@&#8203;AttilaTheFun](https://togithub.com/AttilaTheFun) in
[bazelbuild/rules_swift#1121

This release is compatible with 5.x LTS, 6.x LTS, and bazel 7.x rolling
releases

##### MODULE.bazel Snippet

```bzl
bazel_dep(name = "rules_swift", version = "1.13.0", repo_name = "build_bazel_rules_swift")
```

##### Workspace Snippet

```bzl
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_swift",
    sha256 = "28a66ff5d97500f0304f4e8945d936fe0584e0d5b7a6f83258298007a93190ba",
    url = "https://github.com/bazelbuild/rules_swift/releases/download/1.13.0/rules_swift.1.13.0.tar.gz",
)

load(
    "@&#8203;build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@&#8203;build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()
```

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/rules_bazel_integration_test).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
cgrindel-self-hosted-renovate bot added a commit to cgrindel/rules_swift_package_manager that referenced this pull request Oct 20, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [build_bazel_rules_swift](https://togithub.com/bazelbuild/rules_swift)
| http_archive | minor | `1.12.0` -> `1.13.0` |

---

### Release Notes

<details>
<summary>bazelbuild/rules_swift (build_bazel_rules_swift)</summary>

###
[`v1.13.0`](https://togithub.com/bazelbuild/rules_swift/releases/tag/1.13.0)

[Compare
Source](https://togithub.com/bazelbuild/rules_swift/compare/1.12.0...1.13.0)

##### What's Changed

- Fixed "name 'visibility' is not defined" error on Bazel 5 by
[@&#8203;jesses-canva](https://togithub.com/jesses-canva) in
[bazelbuild/rules_swift#1117
- Limited `--cxxopt='-std=c++14'` to Linux builds by
[@&#8203;thii](https://togithub.com/thii) in
[bazelbuild/rules_swift#1122
- Add SwiftGRPCInfo provider by
[@&#8203;AttilaTheFun](https://togithub.com/AttilaTheFun) in
[bazelbuild/rules_swift#1121

This release is compatible with 5.x LTS, 6.x LTS, and bazel 7.x rolling
releases

##### MODULE.bazel Snippet

```bzl
bazel_dep(name = "rules_swift", version = "1.13.0", repo_name = "build_bazel_rules_swift")
```

##### Workspace Snippet

```bzl
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "build_bazel_rules_swift",
    sha256 = "28a66ff5d97500f0304f4e8945d936fe0584e0d5b7a6f83258298007a93190ba",
    url = "https://github.com/bazelbuild/rules_swift/releases/download/1.13.0/rules_swift.1.13.0.tar.gz",
)

load(
    "@&#8203;build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)

swift_rules_dependencies()

load(
    "@&#8203;build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()
```

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDAuMCIsInVwZGF0ZWRJblZlciI6IjM2LjEwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants