File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -114,5 +114,8 @@ In chronological order:
114114* carlkl < https://github.com/carlkl >
115115 * [ 2013-12-13] Fixed LAPACKE building bug on Windows
116116
117+ * Isaac Dunham < https://github.com/idunham >
118+ * [ 2014-08-03] Fixed link error on Linux/musl
119+
117120* [ Your name or handle] <[ email or website] >
118121 * [ Date] [ Brief summary of your changes]
Original file line number Diff line number Diff line change @@ -865,7 +865,7 @@ void gotoblas_set_affinity2(int threads) {};
865865
866866void gotoblas_affinity_reschedule (void ) {};
867867
868- int get_num_procs (void ) { return get_nprocs ( ); }
868+ int get_num_procs (void ) { return sysconf ( _SC_NPROCESSORS_ONLN ); }
869869
870870int get_num_nodes (void ) { return 1 ; }
871871
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ int get_num_procs(void);
162162#else
163163int get_num_procs (void ) {
164164 static int nums = 0 ;
165- if (!nums ) nums = get_nprocs ( );
165+ if (!nums ) nums = sysconf ( _SC_NPROCESSORS_ONLN );
166166 return nums ;
167167}
168168#endif
You can’t perform that action at this time.
0 commit comments