stillwater-sc / universal

Large collection of number systems providing custom arithmetic for mixed-precision algorithm development and optimization for AI, Machine Learning, Computer Vision, Signal Processing, CAE, EDA, control, optimization, estimation, and approximation.
MIT License
412 stars 59 forks source link

cmake's "install" target is broken: No such file or directory. #151

Closed yurivict closed 4 years ago

yurivict commented 4 years ago
===>   Generating temporary packing list
[0/1] cd /usr/ports/math/universal/work/.build && /usr/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-- Install configuration: "Release"
-- Up-to-date: /usr/ports/math/universal/work/stage/usr/local/share/Universal/universal-config.cmake
-- Up-to-date: /usr/ports/math/universal/work/stage/usr/local/share/Universal/universal-config-version.cmake
CMake Error at cmake_install.cmake:48 (file):
  file INSTALL cannot find
  "/usr/ports/math/universal/work/universal-1c244646b8f616881f8b5b95ee542c96e49e5580/universal":
  No such file or directory.
Ravenwater commented 4 years ago

@yurivict can you give me more context? I don't recognize any of these patterns so need some more context information.

yurivict commented 4 years ago

When 'make install' is executed after build succeeds, the above error is printed.

Ravenwater commented 4 years ago

ok, investigating...

Ravenwater commented 4 years ago

found the problem: install() command was not set correctly. I am working on the fix.

Ravenwater commented 4 years ago

@yurivict checked in a fix to the failing make install target.

Thank you for reporting this.

Ravenwater commented 4 years ago
stillwater@sw-11:~/dev/clones/universal/build$ sudo make -j $(nproc) install
[  1%] Built target propp
[  3%] Built target propenv
[  3%] Built target compfp
[  4%] Built target propenv
[  5%] Built target propp
[  6%] Built target compf
[  8%] Built target compd
[  9%] Built target compld
[ 11%] Built target compp
[ 12%] Built target convert
[ 13%] Built target utils_reverse_view
[ 15%] Built target edu_values
[ 17%] Built target utils_lookup_arithmetic
[ 19%] Built target edu_exceptions
[ 20%] Built target edu_ulp
[ 21%] Built target edu_enumeration
[ 23%] Built target edu_discretization_curves
[ 24%] Built target edu_regimes
[ 26%] Built target edu_tables
[ 27%] Built target edu_basic_operators
[ 28%] Built target edu_conversion
[ 30%] Built target edu_extract
[ 31%] Built target edu_exponents
[ 32%] Built target edu_fractions
[ 34%] Built target edu_components
[ 35%] Built target edu_scales
[ 37%] Built target edu_raw_bit_patterns
[ 38%] Built target edu_signalling_nar
[ 40%] Built target edu_serialization
[ 41%] Built target edu_quires
[ 43%] Built target edu_intervals
[ 45%] Built target stl_sequential_containers
[ 47%] Built target math_distinct_powers
[ 48%] Built target math_decimal_lpp
[ 49%] Built target math_largest_palindrome_product
[ 51%] Built target math_stirlings_approximation
[ 53%] Built target ode_runga_kutta
[ 54%] Built target pde_laplace
[ 55%] Built target trig_arbitrary_precision_pi
[ 56%] Built target cheby_skeleton
[ 58%] Built target cheby_nodes
[ 59%] Built target blas_lu
[ 60%] Built target blas_l2_fused_mv
[ 61%] Built target blas_l1_fused_dot
[ 63%] Built target blas_l3_fused_mm
[ 65%] Built target blas_matrix_ops
[ 66%] Built target blas_vector_ops
[ 68%] Built target dsp_fir_filter
[ 69%] Built target dsp_adc_mapping
[ 70%] Built target prf_rpoly_ak1
[ 72%] Built target prf_polynomial_roots
[ 73%] Built target chaos_time_precision_lyapunov
[ 75%] Built target chaos_bakers_map
[ 77%] Built target engineering_water
[ 79%] Built target weather_error_growth_atmospheric_model
[ 80%] Built target engineering_chem_equilibrium
[ 81%] Built target science_physics_constants
[ 82%] Built target crypto_pollard_rho
[ 84%] Built target science_iso_constants
[ 85%] Built target crypto_large_lcm
[ 87%] Built target crypto_fermat
[ 88%] Built target numeric_limits
[ 90%] Built target crypto_quadratic_sieve
[ 92%] Built target playground_skeleton
[ 93%] Built target playground_gismo_test
[ 94%] Built target playground_efunc_valids
[ 95%] Built target playground_type_test
[ 96%] Built target playground_serialization
[ 98%] Built target playground_efunc_posits
[100%] Built target playground_meta_programming
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/share/universal/universal-targets.cmake
-- Installing: /usr/local/share/universal/universal-config.cmake
-- Installing: /usr/local/share/universal/universal-config-version.cmake
-- Up-to-date: /usr/local/include/universal
-- Up-to-date: /usr/local/include/universal/utility
-- Installing: /usr/local/include/universal/utility/color_print.hpp
-- Installing: /usr/local/include/universal/utility/reverse_view.hpp
-- Up-to-date: /usr/local/include/universal/adapters
-- Installing: /usr/local/include/universal/adapters/adapt_integer_and_posit.hpp
-- Up-to-date: /usr/local/include/universal/mpfloat
-- Installing: /usr/local/include/universal/mpfloat/mpfloat.hpp
-- Up-to-date: /usr/local/include/universal/float
-- Installing: /usr/local/include/universal/float/exceptions.hpp
-- Installing: /usr/local/include/universal/float/quire.hpp
-- Installing: /usr/local/include/universal/float/float_functions.hpp
-- Up-to-date: /usr/local/include/universal/common
-- Installing: /usr/local/include/universal/common/numeric_limits_utility.hpp
-- Up-to-date: /usr/local/include/universal/fixpnt
-- Installing: /usr/local/include/universal/fixpnt/numeric_limits.hpp
-- Installing: /usr/local/include/universal/fixpnt/fixpnt
-- Installing: /usr/local/include/universal/fixpnt/fixpnt_functions.hpp
-- Installing: /usr/local/include/universal/fixpnt/fixed_point.hpp
-- Installing: /usr/local/include/universal/fixpnt/fixpnt_manipulators.hpp
-- Installing: /usr/local/include/universal/fixpnt/fixpnt_exceptions.hpp
-- Installing: /usr/local/include/universal/fixpnt/math_functions.hpp
-- Up-to-date: /usr/local/include/universal/blas
-- Installing: /usr/local/include/universal/blas/exceptions.hpp
-- Installing: /usr/local/include/universal/blas/blas_l3.hpp
-- Installing: /usr/local/include/universal/blas/laplace2D.hpp
-- Installing: /usr/local/include/universal/blas/generators.hpp
-- Installing: /usr/local/include/universal/blas/vector.hpp
-- Installing: /usr/local/include/universal/blas/blas.hpp
-- Installing: /usr/local/include/universal/blas/lu.hpp
-- Installing: /usr/local/include/universal/blas/uniform_random.hpp
-- Installing: /usr/local/include/universal/blas/blas_l1.hpp
-- Installing: /usr/local/include/universal/blas/lsq.hpp
-- Installing: /usr/local/include/universal/blas/matrix.hpp
-- Installing: /usr/local/include/universal/blas/blas_l2.hpp
-- Up-to-date: /usr/local/include/universal/abstract
-- Installing: /usr/local/include/universal/abstract/triple.hpp
-- Up-to-date: /usr/local/include/universal/blockbin
-- Installing: /usr/local/include/universal/blockbin/blockbinary.hpp
-- Installing: /usr/local/include/universal/blockbin/blocktriple.hpp
-- Installing: /usr/local/include/universal/blockbin/trace_constants.hpp
-- Up-to-date: /usr/local/include/universal/skeleton_2params
-- Installing: /usr/local/include/universal/skeleton_2params/exceptions.hpp
-- Installing: /usr/local/include/universal/skeleton_2params/areal.hpp
-- Installing: /usr/local/include/universal/skeleton_2params/numeric_limits.hpp
-- Installing: /usr/local/include/universal/skeleton_2params/math_functions.hpp
-- Installing: /usr/local/include/universal/skeleton_2params/areal
-- Up-to-date: /usr/local/include/universal/bitblock
-- Installing: /usr/local/include/universal/bitblock/bitblock.hpp
-- Installing: /usr/local/include/universal/bitblock/bitblock_v2.hpp
-- Installing: /usr/local/include/universal/bitblock/README.md
-- Installing: /usr/local/include/universal/bitblock/ubb.h
-- Up-to-date: /usr/local/include/universal/posit
-- Installing: /usr/local/include/universal/posit/fraction.hpp
-- Installing: /usr/local/include/universal/posit/exponent.hpp
-- Installing: /usr/local/include/universal/posit/exceptions.hpp
-- Installing: /usr/local/include/universal/posit/quire.hpp
-- Installing: /usr/local/include/universal/posit/specializations.hpp
-- Installing: /usr/local/include/universal/posit/posit.hpp
-- Installing: /usr/local/include/universal/posit/posit_manipulators.hpp
-- Installing: /usr/local/include/universal/posit/numeric_limits.hpp
-- Up-to-date: /usr/local/include/universal/posit/specialized
-- Installing: /usr/local/include/universal/posit/specialized/posit_2_0.hpp
-- Installing: /usr/local/include/universal/posit/specialized/posit_128_4.hpp
-- Installing: /usr/local/include/universal/posit/specialized/posit_3_1.hpp
-- Installing: /usr/local/include/universal/posit/specialized/posit_8_1.h
-- Installing: /usr/local/include/universal/posit/specialized/posit_3_0.hpp
-- Installing: /usr/local/include/universal/posit/specialized/posit_64_3.hpp
-- Installing: /usr/local/include/universal/posit/specialized/posit_8_1.hpp
-- Installing: /usr/local/include/universal/posit/specialized/posit_8_0.hpp
-- Installing: /usr/local/include/universal/posit/specialized/posit_16_1.hpp
-- Installing: /usr/local/include/universal/posit/specialized/posit_8_0.h
-- Installing: /usr/local/include/universal/posit/specialized/posit_256_5.hpp
-- Installing: /usr/local/include/universal/posit/specialized/posit_4_0.hpp
-- Installing: /usr/local/include/universal/posit/specialized/posit_32_2.hpp
-- Installing: /usr/local/include/universal/posit/posit_functions.hpp
-- Installing: /usr/local/include/universal/posit/twoSum.hpp
-- Installing: /usr/local/include/universal/posit/regime.hpp
-- Installing: /usr/local/include/universal/posit/posit_c_macros.h
-- Installing: /usr/local/include/universal/posit/posit_parse.hpp
-- Installing: /usr/local/include/universal/posit/posit
-- Installing: /usr/local/include/universal/posit/positctypes.h
-- Up-to-date: /usr/local/include/universal/posit/math
-- Installing: /usr/local/include/universal/posit/math/classify.hpp
-- Installing: /usr/local/include/universal/posit/math/exponent.hpp
-- Installing: /usr/local/include/universal/posit/math/sqrt_tables.hpp
-- Installing: /usr/local/include/universal/posit/math/pow.hpp
-- Installing: /usr/local/include/universal/posit/math/truncate.hpp
-- Installing: /usr/local/include/universal/posit/math/fractional.hpp
-- Installing: /usr/local/include/universal/posit/math/trigonometry.hpp
-- Installing: /usr/local/include/universal/posit/math/hypot.hpp
-- Installing: /usr/local/include/universal/posit/math/error_and_gamma.hpp
-- Installing: /usr/local/include/universal/posit/math/hyperbolic.hpp
-- Installing: /usr/local/include/universal/posit/math/complex.hpp
-- Installing: /usr/local/include/universal/posit/math/logarithm.hpp
-- Installing: /usr/local/include/universal/posit/math/constants.hpp
-- Installing: /usr/local/include/universal/posit/math/next.hpp
-- Installing: /usr/local/include/universal/posit/math/sqrt.hpp
-- Installing: /usr/local/include/universal/posit/math/minmax.hpp
-- Installing: /usr/local/include/universal/posit/posit_decoded.hpp
-- Installing: /usr/local/include/universal/posit/posit_c_api.h
-- Installing: /usr/local/include/universal/posit/ReadMe.txt
-- Installing: /usr/local/include/universal/posit/fdp.hpp
-- Installing: /usr/local/include/universal/posit/posit_fwd.hpp
-- Installing: /usr/local/include/universal/posit/trace_constants.hpp
-- Installing: /usr/local/include/universal/posit/math_functions.hpp
-- Up-to-date: /usr/local/include/universal/value
-- Installing: /usr/local/include/universal/value/value.hpp
-- Installing: /usr/local/include/universal/value/value
-- Up-to-date: /usr/local/include/universal/sequences
-- Installing: /usr/local/include/universal/sequences/sequences.hpp
-- Up-to-date: /usr/local/include/universal/valid
-- Installing: /usr/local/include/universal/valid/valid.hpp
-- Installing: /usr/local/include/universal/valid/valid_manipulators.hpp
-- Installing: /usr/local/include/universal/valid/valid_functions.hpp
-- Installing: /usr/local/include/universal/valid/valid
-- Up-to-date: /usr/local/include/universal/integer
-- Installing: /usr/local/include/universal/integer/integer_manipulators.hpp
-- Installing: /usr/local/include/universal/integer/primes.hpp
-- Installing: /usr/local/include/universal/integer/integer_exceptions.hpp
-- Installing: /usr/local/include/universal/integer/numeric_limits.hpp
-- Installing: /usr/local/include/universal/integer/sieves.hpp
-- Installing: /usr/local/include/universal/integer/integer
-- Installing: /usr/local/include/universal/integer/integer_functions.hpp
-- Installing: /usr/local/include/universal/integer/integer.hpp
-- Installing: /usr/local/include/universal/integer/math_functions.hpp
-- Up-to-date: /usr/local/include/universal/native
-- Installing: /usr/local/include/universal/native/integers.hpp
-- Installing: /usr/local/include/universal/native/bit_functions.hpp
-- Installing: /usr/local/include/universal/native/native
-- Installing: /usr/local/include/universal/native/ieee-754.hpp
-- Installing: /usr/local/include/universal/native/manipulators.hpp
-- Up-to-date: /usr/local/include/universal/skeleton_1param
-- Installing: /usr/local/include/universal/skeleton_1param/exceptions.hpp
-- Installing: /usr/local/include/universal/skeleton_1param/numeric_limits.hpp
-- Installing: /usr/local/include/universal/skeleton_1param/lns
-- Installing: /usr/local/include/universal/skeleton_1param/math_functions.hpp
-- Installing: /usr/local/include/universal/skeleton_1param/lns.hpp
-- Up-to-date: /usr/local/include/universal/lns
-- Installing: /usr/local/include/universal/lns/exceptions.hpp
-- Installing: /usr/local/include/universal/lns/numeric_limits.hpp
-- Installing: /usr/local/include/universal/lns/lns
-- Installing: /usr/local/include/universal/lns/math_functions.hpp
-- Installing: /usr/local/include/universal/lns/lns.hpp
-- Up-to-date: /usr/local/include/universal/traits
-- Installing: /usr/local/include/universal/traits/README.md
-- Installing: /usr/local/include/universal/traits/integral_constant.hpp
-- Installing: /usr/local/include/universal/traits/posit_traits.hpp
-- Installing: /usr/local/include/universal/traits/number_traits.hpp
-- Installing: /usr/local/include/universal/traits/metaprogramming.hpp
-- Installing: /usr/local/include/universal/traits/fixpnt_traits.hpp
-- Up-to-date: /usr/local/include/universal/string
-- Installing: /usr/local/include/universal/string/strmanip.hpp
-- Up-to-date: /usr/local/include/universal/unum2
-- Installing: /usr/local/include/universal/unum2/CMakeLists.txt
-- Up-to-date: /usr/local/include/universal/areal
-- Installing: /usr/local/include/universal/areal/exceptions.hpp
-- Installing: /usr/local/include/universal/areal/areal.hpp
-- Installing: /usr/local/include/universal/areal/numeric_limits.hpp
-- Installing: /usr/local/include/universal/areal/math_functions.hpp
-- Installing: /usr/local/include/universal/areal/areal
-- Up-to-date: /usr/local/include/universal/decimal
-- Installing: /usr/local/include/universal/decimal/decimal.hpp
-- Installing: /usr/local/include/universal/decimal/numeric_limits.hpp
-- Installing: /usr/local/include/universal/decimal/decimal_exceptions.hpp
-- Up-to-date: /usr/local/include/universal/unum
-- Installing: /usr/local/include/universal/unum/CMakeLists.txt
-- Up-to-date: /usr/local/include/universal/functions
-- Installing: /usr/local/include/universal/functions/functions.hpp
-- Installing: /usr/local/include/universal/functions/isrepresentable.hpp
-- Installing: /usr/local/include/universal/functions/lerp.hpp
-- Installing: /usr/local/include/universal/functions/twosum.hpp
-- Installing: /usr/local/include/universal/functions/binomial.hpp
-- Installing: /usr/local/include/universal/functions/factorial.hpp
-- Installing: /usr/local/include/universal/functions/ddpoly.hpp
-- Installing: /usr/local/include/universal/functions/loss.hpp
-- Installing: /usr/local/bin/compd
-- Installing: /usr/local/bin/compf
-- Installing: /usr/local/bin/compfp
-- Installing: /usr/local/bin/compld
-- Installing: /usr/local/bin/compp
-- Installing: /usr/local/bin/convert
-- Installing: /usr/local/bin/propenv
-- Installing: /usr/local/bin/propp