forked from SimonKagstrom/kcov
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INSTALL: Update codesigning, prepare for v43
- Loading branch information
1 parent
3a8c546
commit 87ba753
Showing
2 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
Kcov (43): | ||
|
||
-- Simon Kagstrom <[email protected]> | ||
|
||
|
||
Kcov (42): | ||
* Issue #317: Correct handling of large amounts of solib data (Steven Lu) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,24 +34,27 @@ brew install zlib bash cmake pkgconfig dwarfutils openssl | |
|
||
OSX build instructions (see Issue #166 / Issue #357): | ||
|
||
First get a code signing identity, since debug support is needed to run as non-root: | ||
|
||
``` | ||
security find-identity | ||
export IDENTITY="Apple Development: <[email protected]> (XXXXXXXX)" | ||
``` | ||
|
||
Create an empty build dir and do the following steps (adjust openssl path, can also be in /opt): | ||
|
||
``` | ||
cd <build-dir> | ||
cmake -G Xcode -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib <path/to/kcov/source/dir> | ||
xcodebuild -target kcov -configuration Release | ||
codesign -s "$IDENTITY" --entitlements <path/to/kcov/source/dir>/osx-entitlements.xml -f ./src/Release/kcov | ||
``` | ||
|
||
The binary will be `src/Release/kcov` | ||
|
||
If the binary needs to be signed, try these instructions: | ||
|
||
First get a code signing identity, since debug support is needed to run as non-root: | ||
|
||
``` | ||
security find-identity | ||
export IDENTITY="Apple Development: <[email protected]> (XXXXXXXX)" | ||
codesign -s "$IDENTITY" --entitlements <path/to/kcov/source/dir>/osx-entitlements.xml -f ./src/Release/kcov | ||
``` | ||
|
||
Building | ||
======== | ||
|
||
|