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
$ git clone https://git.xapian.org/xapian | |
$ cd xapian | |
$ sudo apt-get install build-essential m4 perl python zlib1g-dev uuid-dev \ | |
wget bison tcl libpcre3-dev libmagic-dev valgrind ccache eatmydata \ | |
doxygen graphviz help2man python-docutils pngcrush sphinx-doc sphinx-common \ | |
python3-sphinx mono-devel default-jdk lua5.3 liblua5.3-dev \ | |
php-dev php-cli python-dev python3-dev ruby-dev tcl-dev texinfo | |
------------------------------------------------------------------- |
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
$ git clone https://git.xapian.org/xapian | |
Cloning into 'xapian'... | |
remote: Enumerating objects: 186651, done. | |
remote: Counting objects: 100% (186651/186651), done. | |
remote: Compressing objects: 100% (43755/43755), done. | |
remote: Total 186651 (delta 147595), reused 177397 (delta 139866) | |
Receiving objects: 100% (186651/186651), 75.60 MiB | 5.77 MiB/s, done. | |
Resolving deltas: 100% (147595/147595), done. |
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
g++ `/home/a/xapian/xapian-core/xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o index1 `/home/a/xapian/xapian-core/xapian-config --libs` | |
/home/a/xapian/xapian-core/xapian-config: Use libtool and 'xapian-config --ltlibs' | |
to link with an uninstalled libxapian-1.5. | |
/usr/bin/ld: /tmp/ccze6EDi.o: in function `index(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': | |
index1.cc:(.text+0x6a): undefined reference to `Xapian::WritableDatabase::WritableDatabase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int)' | |
/usr/bin/ld: index1.cc:(.text+0x79): undefined reference to `Xapian::TermGenerator::TermGenerator()' | |
/usr/bin/ld: index1.cc:(.text+0xc3): undefined reference to `Xapian::Stem::Stem(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' | |
/usr/bin/ld: index1.cc:(.text+0xdc): undefined |
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
import torch | |
import torch.nn as nn | |
import torch.nn.functional as F | |
import torch.optim as optim | |
from torch.distributions import Categorical | |
import numpy as np | |
import gym #requires OpenAI gym installed | |
import sklearn | |
import sklearn.preprocessing |
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
CMake Error at build/_deps/rapids-cmake-src/rapids-cmake/test/generate_resource_spec.cmake:90 (message): | |
rapids_test_generate_resource_spec failed to build detection executable. | |
rapids_test_generate_resource_spec | |
compile[/home/a/miniforge3/envs/rmm_dev/bin/x86_64-conda-linux-gnu-c++ | |
-I/home/a/miniforge3/envs/rmm_dev/targets/x86_64-linux/include;-I/usr/include;-DHAVE_CUDA | |
/home/a/miniforge3/envs/rmm_dev/lib/libcudart.so;-lpthread;-lrt;-ldl] | |
failure details are: | |
In file included from /home/a/miniforge3/envs/rmm_dev/x86_64-conda-linux-gnu/include/c++/11.4.0/cstdlib:75, |
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
# packages in environment at /home/a/anaconda3/envs/rmm-dev: | |
# | |
# Name Version Build Channel | |
_libgcc_mutex 0.1 conda_forge conda-forge | |
_openmp_mutex 4.5 2_gnu conda-forge | |
_sysroot_linux-64_curr_repodata_hack 3 h69a702a_14 conda-forge | |
alabaster 0.7.16 pyhd8ed1ab_0 conda-forge | |
asttokens 2.4.1 pyhd8ed1ab_0 conda-forge | |
atk-1.0 2.38.0 hd4edc92_1 conda-forge | |
attrs 23.2.0 pyh71513ae_0 conda-forge |