Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ngtcp2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
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
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 GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kashyap Thimmaraju
ngtcp2
Commits
6d70fe97
Commit
6d70fe97
authored
7 years ago
by
Alexis La Goutte
Browse files
Options
Downloads
Patches
Plain Diff
travis: add variable for add or not ASAN build
parent
3d4b7e25
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+3
-2
3 additions, 2 deletions
.travis.yml
with
3 additions
and
2 deletions
.travis.yml
+
3
−
2
View file @
6d70fe97
...
...
@@ -32,6 +32,7 @@ addons:
-
cmake-data
before_install
:
-
$CC --version
-
if [ "$TRAVIS_OS_NAME" == "linux" ]; then CMAKE_OPTS=" -DENABLE_ASAN=1" AUTOTOOLS_OPTS=" --enable-asan"; fi
-
if [ "$TRAVIS_OS_NAME" == "linux" ]; then if [ "$CXX" = "g++" ]; then export CXX="g++-7" CC="gcc-7" EXTRA_LDFLAGS="-fuse-ld=gold"; else export CXX="clang++-5.0" CC="clang-5.0"; fi; fi
-
$CC --version
-
cmake --version
...
...
@@ -42,9 +43,9 @@ before_script:
# configure ngtcp2
-
if [ "$CI_BUILD" == "autotools" ]; then autoreconf -i; fi
-
export PKG_CONFIG_PATH=$PWD/../openssl/build/lib/pkgconfig LDFLAGS="$EXTRA_LDFLAGS -Wl,-rpath,$PWD/../openssl/build/lib"
-
if [ "$CI_BUILD" == "autotools" ]; then ./configure --enable-werror
--enable-asan
; fi
-
if [ "$CI_BUILD" == "autotools" ]; then ./configure --enable-werror
$AUTOTOOLS_OPTS
; fi
# Set CMAKE_LIBRARY_ARCHITECTURE to workaround failure to parse implicit link information from GCC 5
-
if [ "$CI_BUILD" == "cmake" ]; then cmake
-DENABLE_ASAN=1
-DCMAKE_LIBRARY_ARCHITECTURE=x86_64-linux-gnu; fi
-
if [ "$CI_BUILD" == "cmake" ]; then cmake
$CMAKE_OPTS
-DCMAKE_LIBRARY_ARCHITECTURE=x86_64-linux-gnu; fi
script
:
# Now build ngtcp2 examples and test
-
make
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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