Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
52c1c3d5
Commit
52c1c3d5
authored
2 months ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Tweak debug info on linux
parent
83718405
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
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
indra/cmake/00-Common.cmake
+4
-8
4 additions, 8 deletions
indra/cmake/00-Common.cmake
with
7 additions
and
11 deletions
.gitlab-ci.yml
+
3
−
3
View file @
52c1c3d5
...
...
@@ -73,7 +73,7 @@ variables:
before_script
:
-
python -m venv .venv
-
.\.venv\Scripts\Activate.ps1
-
pip install --upgrade llbase autobuild certifi sentry-cli
==2.32.1
cmake
-
pip install --upgrade llbase autobuild certifi sentry-cli cmake
script
:
-
autobuild configure -c Release -- -DUSE_LTO="${ENABLE_LTO}" -DHAVOK_TPV="${USE_HAVOK}" -DLL_TESTS="${ENABLE_TESTS}" -DDISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE
-
autobuild build -c Release --no-configure
...
...
@@ -107,7 +107,7 @@ variables:
before_script
:
-
python3 -m venv .venv
-
source .venv/bin/activate
-
pip3 install --upgrade llbase autobuild dmgbuild certifi sentry-cli
==2.32.1
cmake
-
pip3 install --upgrade llbase autobuild dmgbuild certifi sentry-cli cmake
script
:
-
autobuild configure -c Release -- -DENABLE_SIGNING=ON -DUSE_LTO=OFF -DHAVOK_TPV=${USE_HAVOK} -DLL_TESTS="${ENABLE_TESTS}" -DDISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE
-
autobuild build -c Release --no-configure
...
...
@@ -139,7 +139,7 @@ variables:
before_script
:
-
python3 -m venv .venv
-
source .venv/bin/activate
-
pip3 install --upgrade llbase autobuild certifi sentry-cli
==2.32.1
cmake ninja
-
pip3 install --upgrade llbase autobuild certifi sentry-cli cmake ninja
script
:
-
autobuild configure -c Release -- -DUSE_LTO=OFF -DLL_TESTS="${ENABLE_TESTS}" -DDISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE -DCOMPRESS_DEBUG=ON
-
autobuild build -c Release --no-configure
...
...
This diff is collapsed.
Click to expand it.
indra/cmake/00-Common.cmake
+
4
−
8
View file @
52c1c3d5
...
...
@@ -56,8 +56,6 @@ if(USE_LTO)
set
(
CMAKE_INTERPROCEDURAL_OPTIMIZATION
${
USE_LTO
}
)
endif
()
option
(
COMPRESS_DEBUG
"Compress debug sections on supported compilers"
OFF
)
set
(
CMAKE_POSITION_INDEPENDENT_CODE ON
)
set
(
CMAKE_C_VISIBILITY_PRESET
"hidden"
)
set
(
CMAKE_CXX_VISIBILITY_PRESET
"hidden"
)
...
...
@@ -186,15 +184,13 @@ if (LINUX)
-fexceptions
-fno-math-errno
-fno-strict-aliasing
-fno-omit-frame-pointer
-fsigned-char
-g
-gz
-pthread
)
if
(
COMPRESS_DEBUG
)
add_compile_options
(
-gz
)
endif
()
if
(
USE_AVX2
)
add_compile_options
(
-mavx2
)
elseif
(
USE_AVX
)
...
...
@@ -221,13 +217,13 @@ if (LINUX)
endif
()
if
(
USE_ASAN OR USE_LEAKSAN OR USE_UBSAN OR USE_THDSAN
)
add_compile_options
(
-Og
-fno-omit-frame-pointer
)
add_compile_options
(
-Og
)
else
()
add_compile_options
(
-O3
)
endif
()
# Enable these flags so we have a read only GOT and some linking opts
add_link_options
(
"LINKER:-z,relro"
"LINKER:-z,now"
"LINKER:--as-needed"
"LINKER:--build-id"
)
add_link_options
(
"LINKER:-z,relro"
"LINKER:-z,now"
"LINKER:--as-needed"
"LINKER:--build-id
=sha1
"
)
endif
()
if
(
DARWIN
)
...
...
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