Skip to content

Commit

Permalink
OpenCL: Don't output build log by default
Browse files Browse the repository at this point in the history
Works around #5456
  • Loading branch information
solardiz committed Apr 28, 2024
1 parent ee642a1 commit 56f7571
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 2 additions & 6 deletions src/opencl_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,9 @@

#define LOG_SIZE 1024*16

// If we are a release build, only output OpenCL build log if
// there was a fatal error (or --verbosity was increased).
#ifdef JTR_RELEASE_BUILD
/* Only output OpenCL build log if there was a fatal error
* (or --verbosity was increased). */
#define LOG_VERB VERB_LEGACY
#else
#define LOG_VERB VERB_DEFAULT
#endif

/* Common OpenCL variables */
int platform_id;
Expand Down
4 changes: 1 addition & 3 deletions src/params.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@

/*
* Define this for release tarballs. It affects the version reporting (will
* be the string above and below and never a Git hash) as well as some other
* details. Eg. it mutes output of OpenCL run-time build log unless the build
* failed.
* be the string above and below and never a Git hash).
*/
//#define JTR_RELEASE_BUILD 1

Expand Down

0 comments on commit 56f7571

Please sign in to comment.