-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[workspace] Remove globbing from qhull build (#17227)
Don't build unnecessary files: Coordinates.cpp, PointCoordinates.cpp, QhullPoints.cpp, QhullStat.cpp, RboxPoints.cpp, rboxlib_r.c. This makes our build and object code footprint smaller, and enables a future commit to use a better technique for C++ symbol visibility.
- Loading branch information
1 parent
e0b3f8c
commit fe4431e
Showing
3 changed files
with
86 additions
and
17 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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Don't try to compile functions that require sources files | ||
that we've omitted from the build. | ||
|
||
--- src/libqhullcpp/Qhull.cpp.orig 2020-09-03 19:33:16.000000000 -0700 | ||
+++ src/libqhullcpp/Qhull.cpp 2022-05-18 20:26:48.858174235 -0700 | ||
@@ -114,6 +114,7 @@ | ||
} | ||
}//checkIfQhullInitialized | ||
|
||
+#if 0 | ||
//! Return feasiblePoint for halfspace intersection | ||
//! If called before runQhull(), then it returns the value from setFeasiblePoint. qh.feasible_string overrides this value if it is defined. | ||
Coordinates Qhull:: | ||
@@ -127,6 +128,7 @@ | ||
} | ||
return result; | ||
}//feasiblePoint | ||
+#endif | ||
|
||
//! Return origin point for qh.input_dim | ||
QhullPoint Qhull:: | ||
@@ -188,11 +190,13 @@ | ||
return QhullFacetList(beginFacet(), endFacet()); | ||
}//facetList | ||
|
||
+#if 0 | ||
QhullPoints Qhull:: | ||
points() const | ||
{ | ||
return QhullPoints(qh_qh, qh_qh->hull_dim, qh_qh->num_points*qh_qh->hull_dim, qh_qh->first_point); | ||
}//points | ||
+#endif | ||
|
||
QhullPointSet Qhull:: | ||
otherPoints() const |
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