Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created March 24, 2021 09:26
Show Gist options
  • Save r-rmcgibbo/957eed3cd0d902b5245af5bd3c6ee1bb to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/957eed3cd0d902b5245af5bd3c6ee1bb to your computer and use it in GitHub Desktop.
system: aarch64-linux | build_time: a second | https://github.com/NixOS/nixpkgs/pull/117450
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/3054kxq6b3ivpyl737r3lxrjw0psb2j0-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
fixing cmake files...
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/bdfazqgn8mam3gd8jh24nn9wwxknvggk-rocm-smi-4.1.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/bdfazqgn8mam3gd8jh24nn9wwxknvggk-rocm-smi-4.1.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/bdfazqgn8mam3gd8jh24nn9wwxknvggk-rocm-smi-4.1.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/bdfazqgn8mam3gd8jh24nn9wwxknvggk-rocm-smi-4.1.0/share/doc/rocm-smi -DCMAKE_INSTALL_INFODIR=/nix/store/bdfazqgn8mam3gd8jh24nn9wwxknvggk-rocm-smi-4.1.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/bdfazqgn8mam3gd8jh24nn9wwxknvggk-rocm-smi-4.1.0/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/bdfazqgn8mam3gd8jh24nn9wwxknvggk-rocm-smi-4.1.0/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/bdfazqgn8mam3gd8jh24nn9wwxknvggk-rocm-smi-4.1.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/bdfazqgn8mam3gd8jh24nn9wwxknvggk-rocm-smi-4.1.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/bdfazqgn8mam3gd8jh24nn9wwxknvggk-rocm-smi-4.1.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/bdfazqgn8mam3gd8jh24nn9wwxknvggk-rocm-smi-4.1.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/h5wgppbyv8vkla58v8zi535j5i9akly5-binutils-2.35.1/bin/strip -DCMAKE_RANLIB=/nix/store/h5wgppbyv8vkla58v8zi535j5i9akly5-binutils-2.35.1/bin/ranlib -DCMAKE_AR=/nix/store/h5wgppbyv8vkla58v8zi535j5i9akly5-binutils-2.35.1/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/bdfazqgn8mam3gd8jh24nn9wwxknvggk-rocm-smi-4.1.0
Unable to determine number of commits since previous release
Package version: 1.0.0.-local-build-0-unknown
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/qb1ky0appvcrc8yhs1h4l63m1cwn5gs7-gcc-wrapper-9.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/qb1ky0appvcrc8yhs1h4l63m1cwn5gs7-gcc-wrapper-9.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
CMake ROCm SMI (Library)
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Build Configuration:
--------Proj Src Dir: /build/source
Package version: 1.0.0.-local-build-0-unknown
SOVERSION: 1.0
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find LATEX (missing: LATEX_COMPILER PDFLATEX)
Doxygen or Latex is not found. Will not generate documents.
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
CMake OAM (Library)
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Build Configuration:
--------Proj Src Dir: /build/source
Package version: 1.0.0.-local-build-0-unknown
SOVERSION: 1.0
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_TESTING
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_SBINDIR
CMAKE_POLICY_DEFAULT_CMP0025
-- Build files have been written to: /build/source/build
cmake: enabled parallel building
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j2 -l2 SHELL=/nix/store/zb8qc1b38rh2krkq6v0bnmpwsj4g21l3-bash-4.4-p23/bin/bash
/nix/store/vr6bg7hsj3i58jxdva34mgvkd68yanm2-cmake-3.19.6/bin/cmake -S/build/source -B/build/source/build --check-build-system CMakeFiles/Makefile.cmake 0
/nix/store/vr6bg7hsj3i58jxdva34mgvkd68yanm2-cmake-3.19.6/bin/cmake -E cmake_progress_start /build/source/build/CMakeFiles /build/source/build//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/build/source/build'
make -f rocm_smi/CMakeFiles/so-link.dir/build.make rocm_smi/CMakeFiles/so-link.dir/depend
make -f rocm_smi/CMakeFiles/rocm_smi64.dir/build.make rocm_smi/CMakeFiles/rocm_smi64.dir/depend
make[2]: Entering directory '/build/source/build'
cd /build/source/build && /nix/store/vr6bg7hsj3i58jxdva34mgvkd68yanm2-cmake-3.19.6/bin/cmake -E cmake_depends "Unix Makefiles" /build/source /build/source/rocm_smi /build/source/build /build/source/build/rocm_smi /build/source/build/rocm_smi/CMakeFiles/so-link.dir/DependInfo.cmake --color=
make[2]: Entering directory '/build/source/build'
cd /build/source/build && /nix/store/vr6bg7hsj3i58jxdva34mgvkd68yanm2-cmake-3.19.6/bin/cmake -E cmake_depends "Unix Makefiles" /build/source /build/source/rocm_smi /build/source/build /build/source/build/rocm_smi /build/source/build/rocm_smi/CMakeFiles/rocm_smi64.dir/DependInfo.cmake --color=
Scanning dependencies of target so-link
make[2]: Leaving directory '/build/source/build'
make -f rocm_smi/CMakeFiles/so-link.dir/build.make rocm_smi/CMakeFiles/so-link.dir/build
Scanning dependencies of target rocm_smi64
make[2]: Entering directory '/build/source/build'
cd /build/source/build/rocm_smi && /nix/store/vr6bg7hsj3i58jxdva34mgvkd68yanm2-cmake-3.19.6/bin/cmake -E create_symlink ../rocm_smi/lib/librocm_smi64.so so-link
make[2]: Leaving directory '/build/source/build'
make -f rocm_smi/CMakeFiles/rocm_smi64.dir/build.make rocm_smi/CMakeFiles/rocm_smi64.dir/build
make[2]: Entering directory '/build/source/build'
make[2]: Leaving directory '/build/source/build'
[ 3%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o
cd /build/source/build/rocm_smi && /nix/store/qb1ky0appvcrc8yhs1h4l63m1cwn5gs7-gcc-wrapper-9.3.0/bin/g++ -Drocm_smi64_EXPORTS -I/build/source/include -I/build/source/third_party/shared_mutex -I/build/source/rocm_smi -I/build/source/common/shared_mutex -Wall -Wextra -fno-rtti -m64 -msse -msse2 -std=c++11 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -DFORTIFY_SOURCE=2 -fstack-protector-all -Wcast-align -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro -Wtrampolines -Wl,-z,now -fPIE -O2 -O3 -DNDEBUG -fPIC -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o -c /build/source/src/rocm_smi_device.cc
[ 3%] Built target so-link
make -f rocm_smi/CMakeFiles/bindings_link.dir/build.make rocm_smi/CMakeFiles/bindings_link.dir/depend
make[2]: Entering directory '/build/source/build'
cd /build/source/build && /nix/store/vr6bg7hsj3i58jxdva34mgvkd68yanm2-cmake-3.19.6/bin/cmake -E cmake_depends "Unix Makefiles" /build/source /build/source/rocm_smi /build/source/build /build/source/build/rocm_smi /build/source/build/rocm_smi/CMakeFiles/bindings_link.dir/DependInfo.cmake --color=
Scanning dependencies of target bindings_link
make[2]: Leaving directory '/build/source/build'
make -f rocm_smi/CMakeFiles/bindings_link.dir/build.make rocm_smi/CMakeFiles/bindings_link.dir/build
g++: error: unrecognized command line option '-m64'
g++: error: unrecognized command line option '-msse'
g++: error: unrecognized command line option '-msse2'
make[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:85: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o] Error 1
make[2]: Leaving directory '/build/source/build'
make[1]: *** [CMakeFiles/Makefile2:228: rocm_smi/CMakeFiles/rocm_smi64.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/build/source/build'
cd /build/source/build/rocm_smi && /nix/store/vr6bg7hsj3i58jxdva34mgvkd68yanm2-cmake-3.19.6/bin/cmake -E create_symlink ../lib/rocm_smi/bindings/rsmiBindings.py bindings_link
make[2]: Leaving directory '/build/source/build'
[ 3%] Built target bindings_link
make[1]: Leaving directory '/build/source/build'
make: *** [Makefile:174: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment