File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 else
4444 cp -r embree_temp/* thirdparty/embree/ 2>/dev/null || mkdir -p thirdparty/embree && cp -r embree_temp/* thirdparty/embree/
4545 fi
46+ # Set EMBREE_LOCATION for CMake
47+ echo "EMBREE_LOCATION=$PWD/thirdparty/embree" >> $GITHUB_ENV
4648
4749 - name : Install OIDN (macOS)
4850 if : runner.os == 'macOS'
Original file line number Diff line number Diff line change @@ -23,6 +23,11 @@ def check_boolean_style(content):
2323 true_compare_pattern = r"(\w+)\s*==\s*true"
2424
2525 for line_num , line in enumerate (content .split ("\n " ), 1 ):
26+ # Skip preprocessor directives
27+ stripped_line = line .strip ()
28+ if stripped_line .startswith ("#" ):
29+ continue
30+
2631 # Check for !boolean_variable usage
2732 if re .search (not_bool_pattern , line ):
2833 match = re .search (not_bool_pattern , line )
You can’t perform that action at this time.
0 commit comments