Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Googletest
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
Meng
Googletest
Commits
191f9336
Commit
191f9336
authored
6 years ago
by
Gennadiy Civil
Browse files
Options
Downloads
Plain Diff
Merge pull request #1977 from lukasm91:issue_1955_remove_pthread_flags
PiperOrigin-RevId: 222861732
parents
fca458ca
ce526b87
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+3
-2
3 additions, 2 deletions
.travis.yml
googletest/cmake/internal_utils.cmake
+0
-1
0 additions, 1 deletion
googletest/cmake/internal_utils.cmake
with
3 additions
and
3 deletions
.travis.yml
+
3
−
2
View file @
191f9336
...
@@ -15,22 +15,23 @@ matrix:
...
@@ -15,22 +15,23 @@ matrix:
sudo
:
true
sudo
:
true
install
:
./ci/install-linux.sh && ./ci/log-config.sh
install
:
./ci/install-linux.sh && ./ci/log-config.sh
script
:
./ci/build-linux-bazel.sh
script
:
./ci/build-linux-bazel.sh
-
os
:
linux
-
os
:
linux
compiler
:
clang
compiler
:
clang
sudo
:
true
sudo
:
true
install
:
./ci/install-linux.sh && ./ci/log-config.sh
install
:
./ci/install-linux.sh && ./ci/log-config.sh
script
:
./ci/build-linux-bazel.sh
script
:
./ci/build-linux-bazel.sh
-
os
:
linux
-
os
:
linux
group
:
deprecated-2017Q4
compiler
:
gcc
compiler
:
gcc
install
:
./ci/install-linux.sh && ./ci/log-config.sh
install
:
./ci/install-linux.sh && ./ci/log-config.sh
script
:
./ci/build-linux-autotools.sh
script
:
./ci/build-linux-autotools.sh
env
:
VERBOSE=1 CXXFLAGS=-std=c++11
env
:
VERBOSE=1 CXXFLAGS=-std=c++11
-
os
:
linux
-
os
:
linux
group
:
deprecated-2017Q4
compiler
:
gcc
compiler
:
gcc
env
:
BUILD_TYPE=Debug VERBOSE=1 CXX_FLAGS=-std=c++11
env
:
BUILD_TYPE=Debug VERBOSE=1 CXX_FLAGS=-std=c++11
-
os
:
linux
-
os
:
linux
group
:
deprecated-2017Q4
compiler
:
clang
compiler
:
clang
env
:
BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
env
:
BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
-
os
:
linux
-
os
:
linux
...
...
This diff is collapsed.
Click to expand it.
googletest/cmake/internal_utils.cmake
+
0
−
1
View file @
191f9336
...
@@ -56,7 +56,6 @@ macro(config_compiler_and_linker)
...
@@ -56,7 +56,6 @@ macro(config_compiler_and_linker)
unset
(
GTEST_HAS_PTHREAD
)
unset
(
GTEST_HAS_PTHREAD
)
if
(
NOT gtest_disable_pthreads AND NOT MINGW
)
if
(
NOT gtest_disable_pthreads AND NOT MINGW
)
# Defines CMAKE_USE_PTHREADS_INIT and CMAKE_THREAD_LIBS_INIT.
# Defines CMAKE_USE_PTHREADS_INIT and CMAKE_THREAD_LIBS_INIT.
set
(
THREADS_PREFER_PTHREAD_FLAG ON
)
find_package
(
Threads
)
find_package
(
Threads
)
if
(
CMAKE_USE_PTHREADS_INIT
)
if
(
CMAKE_USE_PTHREADS_INIT
)
set
(
GTEST_HAS_PTHREAD ON
)
set
(
GTEST_HAS_PTHREAD ON
)
...
...
This diff is collapsed.
Click to expand it.
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