Skip to content

Commit

Permalink
Extra workflow information
Browse files Browse the repository at this point in the history
  • Loading branch information
dariosg committed Nov 4, 2020
1 parent 737035c commit 0a50408
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ creentials download this repo and compile it.
One advantage of cmake is the separation between source and binary files. To
generate the programs, you always have to create a build directory first, then
invoke cmake to generate the build files, `Makefiles` for Linux, and, after
than, use the standard `make` tool for obtaining the binaries. By default, cmake builds programs in release mode with optimizations enabled, if you want to build them with debug support; e.g., to use them with `gdb`, you can set the variable `CMAKE_BUILD_TYPE` to `Debug`.
than, use the standard `make` tool for obtaining the binaries. By default,
cmake builds programs in release mode with optimizations enabled, if you want
to build them with debug support; e.g., to use them with `gdb`, you can set the
variable `CMAKE_BUILD_TYPE` to `Debug`.

## Code snippets from Class

Expand Down Expand Up @@ -69,5 +72,10 @@ cd build-release
rm -rf ./ # only run this command inside build-release directory
cmake ../
cd Laboratory-3
make -j2
make -j2 # compile two jobs in parallel
```

_One workflow approach for the labs is to develop and test in debug mode,
inside a `build-debug` directory, and switch to release, in another
`build-release` directory, to run the final experiments and obtain execution
times or other metrics._

0 comments on commit 0a50408

Please sign in to comment.