mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Get docs to build
This commit is contained in:
@@ -495,8 +495,8 @@ template<> EIGEN_STRONG_INLINE int predux_min<Packet4i>(const Packet4i& a)
|
|||||||
// for GCC (eg., it does not like using std::min after the pstore !!)
|
// for GCC (eg., it does not like using std::min after the pstore !!)
|
||||||
EIGEN_ALIGN16 int aux[4];
|
EIGEN_ALIGN16 int aux[4];
|
||||||
pstore(aux, a);
|
pstore(aux, a);
|
||||||
register int aux0 = aux[0]<aux[1] ? aux[0] : aux[1];
|
int aux0 = aux[0]<aux[1] ? aux[0] : aux[1];
|
||||||
register int aux2 = aux[2]<aux[3] ? aux[2] : aux[3];
|
int aux2 = aux[2]<aux[3] ? aux[2] : aux[3];
|
||||||
return aux0<aux2 ? aux0 : aux2;
|
return aux0<aux2 ? aux0 : aux2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -516,8 +516,8 @@ template<> EIGEN_STRONG_INLINE int predux_max<Packet4i>(const Packet4i& a)
|
|||||||
// for GCC (eg., it does not like using std::min after the pstore !!)
|
// for GCC (eg., it does not like using std::min after the pstore !!)
|
||||||
EIGEN_ALIGN16 int aux[4];
|
EIGEN_ALIGN16 int aux[4];
|
||||||
pstore(aux, a);
|
pstore(aux, a);
|
||||||
register int aux0 = aux[0]>aux[1] ? aux[0] : aux[1];
|
int aux0 = aux[0]>aux[1] ? aux[0] : aux[1];
|
||||||
register int aux2 = aux[2]>aux[3] ? aux[2] : aux[3];
|
int aux2 = aux[2]>aux[3] ? aux[2] : aux[3];
|
||||||
return aux0>aux2 ? aux0 : aux2;
|
return aux0>aux2 ? aux0 : aux2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -77,8 +77,8 @@ static EIGEN_DONT_INLINE void product_selfadjoint_vector(
|
|||||||
for (Index j=FirstTriangular ? bound : 0;
|
for (Index j=FirstTriangular ? bound : 0;
|
||||||
j<(FirstTriangular ? size : bound);j+=2)
|
j<(FirstTriangular ? size : bound);j+=2)
|
||||||
{
|
{
|
||||||
register const Scalar* EIGEN_RESTRICT A0 = lhs + j*lhsStride;
|
const Scalar* EIGEN_RESTRICT A0 = lhs + j*lhsStride;
|
||||||
register const Scalar* EIGEN_RESTRICT A1 = lhs + (j+1)*lhsStride;
|
const Scalar* EIGEN_RESTRICT A1 = lhs + (j+1)*lhsStride;
|
||||||
|
|
||||||
Scalar t0 = cjAlpha * rhs[j];
|
Scalar t0 = cjAlpha * rhs[j];
|
||||||
Packet ptmp0 = pset1<Packet>(t0);
|
Packet ptmp0 = pset1<Packet>(t0);
|
||||||
@@ -145,7 +145,7 @@ static EIGEN_DONT_INLINE void product_selfadjoint_vector(
|
|||||||
}
|
}
|
||||||
for (Index j=FirstTriangular ? 0 : bound;j<(FirstTriangular ? bound : size);j++)
|
for (Index j=FirstTriangular ? 0 : bound;j<(FirstTriangular ? bound : size);j++)
|
||||||
{
|
{
|
||||||
register const Scalar* EIGEN_RESTRICT A0 = lhs + j*lhsStride;
|
const Scalar* EIGEN_RESTRICT A0 = lhs + j*lhsStride;
|
||||||
|
|
||||||
Scalar t1 = cjAlpha * rhs[j];
|
Scalar t1 = cjAlpha * rhs[j];
|
||||||
Scalar t2 = 0;
|
Scalar t2 = 0;
|
||||||
|
|||||||
@@ -26,5 +26,6 @@ build:linux:docs:
|
|||||||
EIGEN_CI_C_COMPILER: clang
|
EIGEN_CI_C_COMPILER: clang
|
||||||
EIGEN_CI_CXX_COMPILER: clang++
|
EIGEN_CI_CXX_COMPILER: clang++
|
||||||
EIGEN_CI_BEFORE_SCRIPT: ". ci/scripts/build_and_install_doxygen.sh Release_1_13_2"
|
EIGEN_CI_BEFORE_SCRIPT: ". ci/scripts/build_and_install_doxygen.sh Release_1_13_2"
|
||||||
|
EIGEN_CI_ADDITIONAL_ARGS: "-DCMAKE_CXX_FLAGS='-Wno-deprecated-declarations -Wno-ignored-reference-qualifiers'"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_NAMESPACE == "libeigen"
|
- if: $CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_NAMESPACE == "libeigen"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ cmake -G Ninja \
|
|||||||
-DCMAKE_CXX_COMPILER=${EIGEN_CI_CXX_COMPILER} \
|
-DCMAKE_CXX_COMPILER=${EIGEN_CI_CXX_COMPILER} \
|
||||||
-DCMAKE_C_COMPILER=${EIGEN_CI_C_COMPILER} \
|
-DCMAKE_C_COMPILER=${EIGEN_CI_C_COMPILER} \
|
||||||
-DCMAKE_CXX_COMPILER_TARGET=${EIGEN_CI_CXX_COMPILER_TARGET} \
|
-DCMAKE_CXX_COMPILER_TARGET=${EIGEN_CI_CXX_COMPILER_TARGET} \
|
||||||
${EIGEN_CI_ADDITIONAL_ARGS} ${rootdir}
|
"${EIGEN_CI_ADDITIONAL_ARGS}" ${rootdir}
|
||||||
|
|
||||||
target=""
|
target=""
|
||||||
if [[ ${EIGEN_CI_BUILD_TARGET} ]]; then
|
if [[ ${EIGEN_CI_BUILD_TARGET} ]]; then
|
||||||
|
|||||||
@@ -70,7 +70,8 @@ add_custom_target(doc ALL
|
|||||||
COMMAND doxygen
|
COMMAND doxygen
|
||||||
COMMAND doxygen Doxyfile-unsupported # run doxygen twice to get proper eigen <=> unsupported cross references
|
COMMAND doxygen Doxyfile-unsupported # run doxygen twice to get proper eigen <=> unsupported cross references
|
||||||
COMMAND ${CMAKE_COMMAND} -E rename html eigen-doc
|
COMMAND ${CMAKE_COMMAND} -E rename html eigen-doc
|
||||||
COMMAND ${CMAKE_COMMAND} -E tar cvfz eigen-doc/eigen-doc.tgz eigen-doc/*.html eigen-doc/*.map eigen-doc/*.png eigen-doc/*.css eigen-doc/*.js eigen-doc/*.txt eigen-doc/unsupported
|
COMMAND ${CMAKE_COMMAND} -E remove eigen-doc/eigen-doc.tgz
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E tar cvfz eigen-doc/eigen-doc.tgz eigen-doc
|
||||||
COMMAND ${CMAKE_COMMAND} -E rename eigen-doc html
|
COMMAND ${CMAKE_COMMAND} -E rename eigen-doc html
|
||||||
WORKING_DIRECTORY ${Eigen_BINARY_DIR}/doc)
|
WORKING_DIRECTORY ${Eigen_BINARY_DIR}/doc)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user