Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LLVM project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Panda
LLVM project
Commits
7d323dc7
Commit
7d323dc7
authored
3 years ago
by
Tres Popp
Browse files
Options
Downloads
Patches
Plain Diff
Add Bazel support for LLVM_WINDOWS_PREFER_FORWARD_SLASH
This was added in
df0ba47c
parent
5fd406e2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
utils/bazel/llvm-project-overlay/llvm/config.bzl
+2
-0
2 additions, 0 deletions
utils/bazel/llvm-project-overlay/llvm/config.bzl
utils/bazel/llvm_configs/config.h.cmake
+4
-0
4 additions, 0 deletions
utils/bazel/llvm_configs/config.h.cmake
with
6 additions
and
0 deletions
utils/bazel/llvm-project-overlay/llvm/config.bzl
+
2
−
0
View file @
7d323dc7
...
...
@@ -36,6 +36,7 @@ posix_defines = [
"
HAVE_STRERROR_R=1
"
,
"
HAVE_SYSEXITS_H=1
"
,
"
HAVE_UNISTD_H=1
"
,
"
LLVM_WINDOWS_PREFER_FORWARD_SLASH=0
"
,
]
linux_defines
=
posix_defines
+
[
...
...
@@ -70,6 +71,7 @@ win32_defines = [
# LLVM features
r
'
LTDL_SHLIB_EXT=\".dll\"
'
,
r
'
LLVM_PLUGIN_EXT=\".dll\"
'
,
"
LLVM_WINDOWS_PREFER_FORWARD_SLASH=1
"
,
]
# TODO: We should switch to platforms-based config settings to make this easier
...
...
This diff is collapsed.
Click to expand it.
utils/bazel/llvm_configs/config.h.cmake
+
4
−
0
View file @
7d323dc7
...
...
@@ -19,6 +19,10 @@
/* Define to 1 to enable crash memory dumps, and to 0 otherwise. */
#cmakedefine01 LLVM_ENABLE_CRASH_DUMPS
/* Define to 1 to prefer forward slashes on Windows, and to 0 prefer
backslashes. */
#cmakedefine01 LLVM_WINDOWS_PREFER_FORWARD_SLASH
/* Define to 1 if you have the `backtrace' function. */
#cmakedefine HAVE_BACKTRACE ${HAVE_BACKTRACE}
...
...
This diff is collapsed.
Click to expand it.
Panda
@nju
mentioned in commit
dc5e1d06
·
3 years ago
mentioned in commit
dc5e1d06
mentioned in commit dc5e1d06b917393cc7def06ede954e932ba59aaf
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment