Skip to content

Commit

Permalink
KCore: add ggdb option
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit128 committed Oct 11, 2024
1 parent 69715bb commit 01c2214
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Cassiopee/KCore/Dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,9 +867,8 @@ def getCArgs():
elif Cppcompiler.find("gcc") == 0 or Cppcompiler.find("g++") == 0:
if DEBUG:
options += ['-g', '-O0', '-Wall', '-pedantic', '-D_GLIBCXX_DEBUG_PEDANTIC']
options += ['-fsanitize=address']
options += ['-ggdb', '-fsanitize=address']
if mySystem[0] == 'mingw': options.remove('-fsanitize=address') # no asan on mingw

else: options += ['-DNDEBUG', '-O3', '-Wall', '-Werror=return-type']
if useOMP() == 1: options += ['-fopenmp']
if useStatic() == 1: options += ['--static', '-static-libstdc++', '-static-libgcc']
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

## Installation from binaries

- [Docker image](https://github.com/onera/Cassiopee/blob/main/docs/developers/Docker/UsingDocker.md)

<!--- - with pip -->
<!-- - On windows, download setup.exe -->

Expand Down
6 changes: 6 additions & 0 deletions docs/developers/Install/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ sudo apt-get install mesa-common-dev
sudo apt-get install libosmesa6-dev
sudo apt-get install xorg-dev

sudo apt-get install libocct-foundation-dev
sudo apt-get install libocct-modeling-algorithms-dev
sudo apt-get install libocct-data-exchange-dev
sudo apt-get install libocct-modeling-data-dev
sudo apt-get install libocct-draw-dev

```

## Install Cassiopee
Expand Down

0 comments on commit 01c2214

Please sign in to comment.