Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build 2.7.0 #83

Closed
Lucretia opened this issue Aug 25, 2019 · 7 comments
Closed

Cannot build 2.7.0 #83

Lucretia opened this issue Aug 25, 2019 · 7 comments

Comments

@Lucretia
Copy link

Lucretia commented Aug 25, 2019

Using the Gentoo overlay, I cannot get rocRAND to install with the 2.7.0 versions of everything.

>>> Emerging (1 of 1) sci-libs/rocRAND-2.7.0-r1::rocm
 * rocRAND-2.7.0.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                    [ ok ]
>>> Unpacking source...
>>> Unpacking rocRAND-2.7.0.tar.gz to /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work
>>> Source unpacked in /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work
>>> Preparing source in /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7 ...
 * Applying master-disable2ndfindhcc.patch ...                                                                                                                                                                                         [ ok ]
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *  set(CMAKE_INSTALL_PREFIX "/opt/rocm" CACHE PATH "Install path prefix, prepend
 *    set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FOR
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build"
cmake -C /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DHIP_PLATFORM=hcc -DHIP_ROOT_DIR=/usr/lib/hip -DBUILD_TEST=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS:STRING=-I/usr/lib/hcc/2.7/include -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build/gentoo_toolchain.cmake  /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7
loading initial cache file /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build/gentoo_common_config.cmake
CMake Warning (dev) at gentoo_common_config.cmake:8 (SET):
  implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The CXX compiler identification is Clang 9.0.0
-- Check for working CXX compiler: /usr/lib/hcc/2.7/bin/hcc
-- Check for working CXX compiler: /usr/lib/hcc/2.7/bin/hcc -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:47 (set):
  implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Git: /usr/bin/git (found version "2.23.0") 
-- 
-- ******** Summary ********
-- General:
--   System                : Linux
--   HIP ROOT              : /usr/lib/hip
--   C++ compiler          : /usr/lib/hcc/2.7/bin/hcc
--   C++ compiler version  : 9.0.0
--   CXX flags             : -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra
--   Build type            : Gentoo
--   Install prefix        : /usr
--   Device targets        : gfx803;gfx900;gfx906
-- 
--   BUILD_SHARED_LIBS     : ON
--   BUILD_FORTRAN_WRAPPER : OFF
--   BUILD_TEST            : OFF
--   BUILD_BENCHMARK       : OFF
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               
C++             -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build"
ninja -v -j6 -l0
[1/12] /usr/lib/hcc/2.7/bin/hcc    -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra   -std=c++11 -MD -MT tools/CMakeFiles/xorwow_precomputed_generator.dir/xorwow_precomputed_generator.cpp.o -MF tools/CMakeFiles/xorwow_precomputed_generator.dir/xorwow_precomputed_generator.cpp.o.d -o tools/CMakeFiles/xorwow_precomputed_generator.dir/xorwow_precomputed_generator.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/tools/xorwow_precomputed_generator.cpp
[2/12] : && /usr/lib/hcc/2.7/bin/hcc  -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra  -Wl,-O1 -Wl,--as-needed tools/CMakeFiles/xorwow_precomputed_generator.dir/xorwow_precomputed_generator.cpp.o  -o tools/xorwow_precomputed_generator   && :
[3/12] /usr/lib/hcc/2.7/bin/hcc    -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra   -std=c++11 -MD -MT tools/CMakeFiles/sobol_direction_vector_generator.dir/sobol_direction_vector_generator.cpp.o -MF tools/CMakeFiles/sobol_direction_vector_generator.dir/sobol_direction_vector_generator.cpp.o.d -o tools/CMakeFiles/sobol_direction_vector_generator.dir/sobol_direction_vector_generator.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/tools/sobol_direction_vector_generator.cpp
[4/12] /usr/lib/hcc/2.7/bin/hcc    -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra   -std=c++11 -MD -MT tools/CMakeFiles/mrg32k3a_precomputed_generator.dir/mrg32k3a_precomputed_generator.cpp.o -MF tools/CMakeFiles/mrg32k3a_precomputed_generator.dir/mrg32k3a_precomputed_generator.cpp.o.d -o tools/CMakeFiles/mrg32k3a_precomputed_generator.dir/mrg32k3a_precomputed_generator.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/tools/mrg32k3a_precomputed_generator.cpp
[5/12] : && /usr/lib/hcc/2.7/bin/hcc  -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra  -Wl,-O1 -Wl,--as-needed tools/CMakeFiles/sobol_direction_vector_generator.dir/sobol_direction_vector_generator.cpp.o  -o tools/sobol_direction_vector_generator   && :
[6/12] : && /usr/lib/hcc/2.7/bin/hcc  -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra  -Wl,-O1 -Wl,--as-needed tools/CMakeFiles/mrg32k3a_precomputed_generator.dir/mrg32k3a_precomputed_generator.cpp.o  -o tools/mrg32k3a_precomputed_generator   && :
[7/12] /usr/lib/hcc/2.7/bin/hcc -Dhiprand_EXPORTS -Ilibrary/include -I/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/include -isystem /usr/lib/hip/include  -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra -fPIC   -std=c++11 -MD -MT library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o -MF library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o.d -o library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/src/hiprand/hiprand_hcc.cpp
FAILED: library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o 
/usr/lib/hcc/2.7/bin/hcc -Dhiprand_EXPORTS -Ilibrary/include -I/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/include -isystem /usr/lib/hip/include  -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra -fPIC   -std=c++11 -MD -MT library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o -MF library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o.d -o library/CMakeFiles/hiprand.dir/src/hiprand/hiprand_hcc.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/src/hiprand/hiprand_hcc.cpp
In file included from /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/src/hiprand/hiprand_hcc.cpp:21:
In file included from /usr/lib/hip/include/hip/hip_runtime.h:56:
In file included from /usr/lib/hip/include/hip/hcc_detail/hip_runtime.h:69:
In file included from /usr/lib/hcc/2.7/include/hc_printf.hpp:13:
In file included from /usr/lib/hcc/2.7/include/hc_am_internal.hpp:3:
In file included from /usr/lib/hcc/2.7/include/hc_am.hpp:3:
In file included from /usr/lib/hcc/2.7/include/hc.hpp:17:
/usr/lib/hcc/2.7/include/kalmar_index.h:42:35: error: expected ';' at end of declaration list
    explicit __index_leaf(int __t) restrict(amp,cpu) : __idx(__t) {}
                                  ^
/usr/lib/hcc/2.7/include/kalmar_index.h:76:17: error: expected ';' at end of declaration list
    index_impl() restrict(amp,cpu) : __index_leaf<N>(0)... {}
                ^
/usr/lib/hcc/2.7/include/kalmar_index.h:150:37: error: expected ';' at end of declaration list
    static inline void set(_Tp& now) restrict(amp,cpu) {
                                    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:166:37: error: expected ';' at end of declaration list
    static inline void set(_Tp& now) restrict(amp,cpu) {
                                    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:180:66: error: expected ';' at end of declaration list
    static bool inline contains(const _Tp1& idx, const _Tp2& ext) restrict(amp,cpu) {
                                                                 ^
/usr/lib/hcc/2.7/include/kalmar_index.h:201:66: error: expected ';' at end of declaration list
    static bool inline contains(const _Tp1& idx, const _Tp2& ext) restrict(amp,cpu) {
                                                                 ^
/usr/lib/hcc/2.7/include/kalmar_index.h:242:12: error: expected ';' at end of declaration list
    index() restrict(amp,cpu) : base_() {
           ^
/usr/lib/hcc/2.7/include/kalmar_index.h:253:30: error: expected ';' at end of declaration list
    index(const index& other) restrict(amp,cpu)
                             ^
/usr/lib/hcc/2.7/include/kalmar_index.h:446:5: error: unknown type name 'base'
    base base_;
    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:454:33: error: expected ';' at end of declaration list
    void __cxxamp_opencl_index() restrict(amp,cpu)
                                ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:61: error: expected ';' at end of declaration
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                            ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:71: error: unknown type name 'amp'
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                                      ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:75: error: unknown type name 'cpu'
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                                          ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:62: error: C++ requires a type specifier for all declarations
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                             ^
/usr/lib/hcc/2.7/include/kalmar_index.h:493:11: error: use of undeclared identifier 'N'
    index<N> __r = lhs;
          ^
/usr/lib/hcc/2.7/include/kalmar_index.h:494:5: error: use of undeclared identifier '__r'
    __r += rhs;
    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:494:12: error: use of undeclared identifier 'rhs'
    __r += rhs;
           ^
/usr/lib/hcc/2.7/include/kalmar_index.h:495:12: error: use of undeclared identifier '__r'
    return __r;
           ^
/usr/lib/hcc/2.7/include/kalmar_index.h:498:61: error: expected ';' at end of declaration
index<N> operator-(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[8/12] /usr/lib/hcc/2.7/bin/hcc -Drocrand_EXPORTS -Ilibrary/include -I/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/include -isystem /usr/lib/hip/include  -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra -fPIC   -std=c++11 -MD -MT library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o -MF library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o.d -o library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/src/rocrand.cpp
FAILED: library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o 
/usr/lib/hcc/2.7/bin/hcc -Drocrand_EXPORTS -Ilibrary/include -I/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/include -isystem /usr/lib/hip/include  -DNDEBUG -I/usr/lib/hcc/2.7/include -Wno-unused-command-line-argument -Wall -Wextra -fPIC   -std=c++11 -MD -MT library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o -MF library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o.d -o library/CMakeFiles/rocrand.dir/src/rocrand.cpp.o -c /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/src/rocrand.cpp
In file included from /var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7/library/src/rocrand.cpp:21:
In file included from /usr/lib/hip/include/hip/hip_runtime.h:56:
In file included from /usr/lib/hip/include/hip/hcc_detail/hip_runtime.h:69:
In file included from /usr/lib/hcc/2.7/include/hc_printf.hpp:13:
In file included from /usr/lib/hcc/2.7/include/hc_am_internal.hpp:3:
In file included from /usr/lib/hcc/2.7/include/hc_am.hpp:3:
In file included from /usr/lib/hcc/2.7/include/hc.hpp:17:
/usr/lib/hcc/2.7/include/kalmar_index.h:42:35: error: expected ';' at end of declaration list
    explicit __index_leaf(int __t) restrict(amp,cpu) : __idx(__t) {}
                                  ^
/usr/lib/hcc/2.7/include/kalmar_index.h:76:17: error: expected ';' at end of declaration list
    index_impl() restrict(amp,cpu) : __index_leaf<N>(0)... {}
                ^
/usr/lib/hcc/2.7/include/kalmar_index.h:150:37: error: expected ';' at end of declaration list
    static inline void set(_Tp& now) restrict(amp,cpu) {
                                    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:166:37: error: expected ';' at end of declaration list
    static inline void set(_Tp& now) restrict(amp,cpu) {
                                    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:180:66: error: expected ';' at end of declaration list
    static bool inline contains(const _Tp1& idx, const _Tp2& ext) restrict(amp,cpu) {
                                                                 ^
/usr/lib/hcc/2.7/include/kalmar_index.h:201:66: error: expected ';' at end of declaration list
    static bool inline contains(const _Tp1& idx, const _Tp2& ext) restrict(amp,cpu) {
                                                                 ^
/usr/lib/hcc/2.7/include/kalmar_index.h:242:12: error: expected ';' at end of declaration list
    index() restrict(amp,cpu) : base_() {
           ^
/usr/lib/hcc/2.7/include/kalmar_index.h:253:30: error: expected ';' at end of declaration list
    index(const index& other) restrict(amp,cpu)
                             ^
/usr/lib/hcc/2.7/include/kalmar_index.h:446:5: error: unknown type name 'base'
    base base_;
    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:454:33: error: expected ';' at end of declaration list
    void __cxxamp_opencl_index() restrict(amp,cpu)
                                ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:61: error: expected ';' at end of declaration
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                            ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:71: error: unknown type name 'amp'
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                                      ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:75: error: unknown type name 'cpu'
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                                          ^
/usr/lib/hcc/2.7/include/kalmar_index.h:492:62: error: C++ requires a type specifier for all declarations
index<N> operator+(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                             ^
/usr/lib/hcc/2.7/include/kalmar_index.h:493:11: error: use of undeclared identifier 'N'
    index<N> __r = lhs;
          ^
/usr/lib/hcc/2.7/include/kalmar_index.h:494:5: error: use of undeclared identifier '__r'
    __r += rhs;
    ^
/usr/lib/hcc/2.7/include/kalmar_index.h:494:12: error: use of undeclared identifier 'rhs'
    __r += rhs;
           ^
/usr/lib/hcc/2.7/include/kalmar_index.h:495:12: error: use of undeclared identifier '__r'
    return __r;
           ^
/usr/lib/hcc/2.7/include/kalmar_index.h:498:61: error: expected ';' at end of declaration
index<N> operator-(const index<N>& lhs, const index<N>& rhs) restrict(amp,cpu) {
                                                            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ninja: build stopped: subcommand failed.
 * ERROR: sci-libs/rocRAND-2.7.0-r1::rocm failed (compile phase):
 *   ninja -v -j6 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 2025:  Called cmake-utils_src_compile
 *   environment, line  714:  Called cmake-utils_src_make
 *   environment, line  895:  Called _cmake_ninja_src_make
 *   environment, line  449:  Called eninja
 *   environment, line 1194:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/rocRAND-2.7.0-r1::rocm'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/rocRAND-2.7.0-r1::rocm'`.
 * The complete build log is located at '/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build'
 * S: '/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7'

>>> Failed to emerge sci-libs/rocRAND-2.7.0-r1, Log file:

>>>  '/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/temp/build.log'

 * Messages for package sci-libs/rocRAND-2.7.0-r1:

 * ERROR: sci-libs/rocRAND-2.7.0-r1::rocm failed (compile phase):
 *   ninja -v -j6 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 2025:  Called cmake-utils_src_compile
 *   environment, line  714:  Called cmake-utils_src_make
 *   environment, line  895:  Called _cmake_ninja_src_make
 *   environment, line  449:  Called eninja
 *   environment, line 1194:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/rocRAND-2.7.0-r1::rocm'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/rocRAND-2.7.0-r1::rocm'`.
 * The complete build log is located at '/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-2.7.0_build'
 * S: '/var/tmp/portage/sci-libs/rocRAND-2.7.0-r1/work/rocRAND-rocm-2.7'

I have submitted a bug there too.

@justxi
Copy link

justxi commented Aug 25, 2019

Using the Gentoo overlay, I cannot get rocRAND to install with the 2.7.0 versions of everything.

Please keep in mind that it is not an official Gentoo overlay!
The ebuilds available in my overlay are in beta state, so please for the future... report problems only there at first.

@Lucretia
Copy link
Author

I know it's not official. I've just tried to build outside of emerge and I get the same errors.

@justxi
Copy link

justxi commented Aug 25, 2019

I know it's not official. I've just tried to build outside of emerge and I get the same errors.

Ok, that is an important point you forget to mention I think ;).

@Lucretia
Copy link
Author

Using this command:

HIP_DIR=/usr/lib/hip/lib/cmake hip_DIR=/usr/lib/hip hcc_DIR=/usr/lib/hcc/2.7/lib/cmake/ CXX=/usr/lib/hcc/2.7/bin/hcc cmake -DHIP_ROOT_DIR=/usr/lib/hip -DHIP_PLATFORM=hcc -DCMAKE_CXX_FLAGS:STRING="-I/usr/lib/hcc/2.7/include"  ../

@saadrahim
Copy link
Member

Have you tried with the newer rocm releases?

@saadrahim
Copy link
Member

I am closing this issue due to lack of activity. Please refile against the latest rocm version if you need assistance.

@Lucretia
Copy link
Author

Lucretia commented Apr 7, 2020

There's a lack of activity becase AMD can't be bothered to respond.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants